home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / comms / modemd60.zip / MODEMD60.EXE / MODEMD60.TXT < prev    next >
Text File  |  1995-01-01  |  203KB  |  4,681 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                       __________________________________________________
  8.                                             T H E 
  9.                                           M O D E M
  10.                                          D O C T O R
  11.                                       Version 6.0S / 6.0R
  12.                         Hank Volpe copyr. 1989,1990,1991,1992,1993,1994
  13.                                         P.O. Box 43214
  14.                                       Baltimore MD 21236      
  15.                       __________________________________________________
  16.  
  17.  
  18.        What's New  . . . . . . . . . . . . . . . . . . . . . . . . .    Page 4
  19.  
  20.        Forward . . . . . . . . . . . . . . . . . . . . . . . . . . .    Page 5
  21.  
  22.        Section 1. Introduction . . . . . . . . . . . . . . . . . . .    Page 6
  23.  
  24.        Section 2. Starting MDR . . . . . . . . . . . . . . . . . . .    Page 9
  25.             The /B switch  . . . . . . . . . . . . . . . . . . . . .    Page 9
  26.             The /D Switch  . . . . . . . . . . . . . . . . . . . . .    Page 9
  27.             The /E switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  28.             The /Q switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  29.             The /S switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  30.             The /X switch  . . . . . . . . . . . . . . . . . . . . .   Page 10
  31.             The /F switch  . . . . . . . . . . . . . . . . . . . . .   Page 11
  32.  
  33.        Section 3. First Time Setup . . . . . . . . . . . . . . . . .   Page 12
  34.             A. Test Modem/ Uart      . . . . . . . . . . . . . . . .   Page 14
  35.             B. Uart Tests  . . . . . . . . . . . . . . . . . . . . .   Page 16
  36.             C. Return to main menu . . . . . . . . . . . . . . . . .   Page 18
  37.  
  38.        Section 4.0 The Main Menu . . . . . . . . . . . . . . . . . .   Page 18
  39.             4.01 Hot-Key selection   . . . . . . . . . . . . . . . .   Page 18
  40.                  ALT-F . . . . . . . . . . . . . . . . . . . . . . .   Page 18
  41.                  ALT-T . . . . . . . . . . . . . . . . . . . . . . .   Page 19
  42.                  ALT-H . . . . . . . . . . . . . . . . . . . . . . .   Page 19
  43.             4.1 Login In Comm ports  . . . . . . . . . . . . . . . .   Page 19
  44.             4.11 What do IRQ's and COMM Ports do ? . . . . . . . . .   Page 20
  45.             4.12 Port assignments and their meaning  . . . . . . . .   Page 20
  46.             4.13 Testing defective Ports   . . . . . . . . . . . . .   Page 22
  47.             4.2 Regs       . . . . . . . . . . . . . . . . . . . . .   Page 23
  48.                  Line Control Register . . . . . . . . . . . . . . .   Page 24
  49.                  Line Status Register  . . . . . . . . . . . . . . .   Page 25
  50.                  Modem Control Register  . . . . . . . . . . . . . .   Page 26
  51.                  Modem Status Register . . . . . . . . . . . . . . .   Page 27
  52.                  Interrupt ID Register . . . . . . . . . . . . . . .   Page 28
  53.                  Interrupt Enable Register . . . . . . . . . . . . .   Page 30
  54.                  Interrupt Mask Register . . . . . . . . . . . . . .   Page 31
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                      Modem Doctor 6.0  Technical Reference Manual
  68.  
  69.  
  70.                  Interrupt Mask Register . . . . . . . . . . . . . .   Page 31
  71.             4.30 Handshaking tests . . . . . . . . . . . . . . . . .   Page 32
  72.             4.30A S-Register Displays  . . . . . . . . . . . . . . .   Page 33
  73.             4.31 Carrier Tests   . . . . . . . . . . . . . . . . . .   Page 34
  74.             4.31 Modem Driver Modules  . . . . . . . . . . . . . . .   Page 34
  75.             4.32 Types of Carrier Tests  . . . . . . . . . . . . . .   Page 36
  76.             4.33 AT Instruction Set Tests  . . . . . . . . . . . . .   Page 36
  77.             4.34 Uart or Dumb Modem Tests  . . . . . . . . . . . . .   Page 37
  78.             4.35 Error Messages  . . . . . . . . . . . . . . . . . .   Page 38
  79.             4.36 IRQ Failures  . . . . . . . . . . . . . . . . . . .   Page 39
  80.             4.38 Burst Mode Tests  . . . . . . . . . . . . . . . . .   Page 39
  81.             4.4 Loopback Tests . . . . . . . . . . . . . . . . . . .   Page 41
  82.             4.41 Loopback Test Error messages  . . . . . . . . . . .   Page 43
  83.  
  84.        4.42 Burst Mode Tests . . . . . . . . . . . . . . . . . . . .   Page 43
  85.  
  86.        4.5 Options Mode  . . . . . . . . . . . . . . . . . . . . . .   Page 45
  87.             4.51 Interactive Mode  . . . . . . . . . . . . . . . . .   Page 45
  88.                  ALT-B . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  89.                  ALT-C . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  90.                  ALT-N . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  91.                  ALT-R . . . . . . . . . . . . . . . . . . . . . . .   Page 45
  92.                  ALT-H . . . . . . . . . . . . . . . . . . . . . . .   Page 46
  93.                  ALT-X . . . . . . . . . . . . . . . . . . . . . . .   Page 46
  94.             4.51A Testing for Interrupt Latency  . . . . . . . . . .   Page 46
  95.                  4.51B View Fax Mode Settings  . . . . . . . . . . .   Page 47
  96.             4.52 View Current Statistics . . . . . . . . . . . . . .   Page 47
  97.             4.53 Print Current Statistics  . . . . . . . . . . . . .   Page 47
  98.             4.54 Reset Current Statistics  . . . . . . . . . . . . .   Page 47
  99.             4.6 Setup Mode . . . . . . . . . . . . . . . . . . . . .   Page 48
  100.                  Mdr Color Selection Screen  . . . . . . . . . . . .   Page 48
  101.             4.7 Exit Program . . . . . . . . . . . . . . . . . . . .   Page 49
  102.  
  103.        5.0 Error Messages and their Meanings . . . . . . . . . . . .   Page 50
  104.             General Program Errors or Warnings . . . . . . . . . . .   Page 50
  105.             Setup Mode Diagnostics . . . . . . . . . . . . . . . . .   Page 51
  106.             Uart diagnostics . . . . . . . . . . . . . . . . . . . .   Page 55
  107.             Report Generator Messages  . . . . . . . . . . . . . . .   Page 56
  108.             Static DTR/DSR   RTS/CTS . . . . . . . . . . . . . . . .   Page 56
  109.             Carrier and Dynamic tests  . . . . . . . . . . . . . . .   Page 57
  110.             General program warnings . . . . . . . . . . . . . . . .   Page 59
  111.  
  112.  
  113.  
  114.                                         Page 2
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                      Modem Doctor 6.0  Technical Reference Manual
  128.  
  129.  
  130.  
  131.        Section 6. Special Modes and Information  . . . . . . . . . .   Page 63
  132.             6.1 Using Modem Drivers  . . . . . . . . . . . . . . . .   Page 63
  133.                  6.11 External Modem Drivers . . . . . . . . . . . .   Page 64
  134.             6.2 Using the Command Line Mode switch /S  . . . . . . .   Page 64
  135.             6.3 Using the Hot-Keys   . . . . . . . . . . . . . . . .   Page 66
  136.                  ALT-B Change Baud rate  . . . . . . . . . . . . . .   Page 66
  137.                  ALT-C Clear Screen  . . . . . . . . . . . . . . . .   Page 67
  138.                  ALT-F Force Microprocessor  . . . . . . . . . . . .   Page 67
  139.                  ALT-H Help  . . . . . . . . . . . . . . . . . . . .   Page 67
  140.                  ALT-R Register Display  . . . . . . . . . . . . . .   Page 67
  141.                  ALT-X Exit Mode . . . . . . . . . . . . . . . . . .   Page 67
  142.                  Control -Break  . . . . . . . . . . . . . . . . . .   Page 67
  143.             6.4 Logging in Defective Ports   . . . . . . . . . . . .   Page 68
  144.             6.5 What tests cannot Do . . . . . . . . . . . . . . . .   Page 68
  145.             6.6 Quirks with Some Modems  . . . . . . . . . . . . . .   Page 69
  146.             6.7 Buffered vs Direct Connect Modems  . . . . . . . . .   Page 70
  147.             6.8 Using Digiboard Serial Ports . . . . . . . . . . . .   Page 71
  148.             6.9 Running Modem Doctor under Windows 3.1 . . . . . . .   Page 73
  149.             6.91 Running Modem Doctor on Networks  . . . . . . . . .   Page 73
  150.  
  151.        Section 7. Benefits of Registration . . . . . . . . . . . . .   Page 73
  152.  
  153.        Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . .   Page 75
  154.  
  155.        Disclaimer  . . . . . . . . . . . . . . . . . . . . . . . . .   Page 75
  156.  
  157.        Modem Doctor History  . . . . . . . . . . . . . . . . . . . .   Page 76
  158.  
  159.  
  160.        All of  the documentation  text contained in  this file  is copyrighted
  161.        1989-1994 by  Hank Volpe. This  file is the technical  reference manual
  162.        that accompanies the Modem Doctor. This manual has been written for the
  163.        expert  user who would  like to have background  information on how the
  164.        Modem  Doctor conducts  its various  tests. It  also catalogs  the many
  165.        error messages and their meanings,  explains some of the mnemonics used
  166.        in testing, and contains a brief  history of the different versions  of
  167.        the  program.  Distribution of  this  text  without  the  Modem  Doctor
  168.        shareware version and its support files is prohibited by the author.
  169.  
  170.  
  171.  
  172.  
  173.  
  174.                                         Page 3
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                      Modem Doctor 6.0  Technical Reference Manual
  188.  
  189.  
  190.  
  191.                         -------------------------------------------
  192.                            What's New in Modem Doctor Version 6.0
  193.                         -------------------------------------------
  194.  
  195.        For  those of you familiar  with Modem Doctor, here  is a brief look at
  196.        the improved and added features of version 6. If you are new to Modem
  197.        Doctor, take a look at the users manual file (MDRFIRST.TXT) that
  198.        accompanies your Modem Doctor package.
  199.  
  200.         1) Adds IRQ support for IRQ's 7-15 for AT Class Computers with dual
  201.            Priority Interrupt Controller Chips.
  202.         2) Improves 16550AFN tests. Buffers are tested 14 levels deep (instead
  203.            of 8) in both normal and new "burst mode" tests.
  204.         3) Tests for FAX modems, indicates Fax Group and Class.
  205.         4) Increase Baud Rate to 115200 in registered version.
  206.         5) Diagnostic Toggle mode for DTR and RTS signals, helpful in finding
  207.             bad cables or missing signals in cables.
  208.         6) Improved Modem Recognition and Modem Drivers.
  209.         7) Burst and Signature Rate Tests for Analog loop and Carrier.
  210.         8) Support for DIGIBOARD Comm ports via the Digiboard Driver.
  211.         9) Improve FOSSIL throughput routines.
  212.        10) Detects AT, PS-2 and Dual Bus Computers, Supports Dual 8259 PIC's.
  213.        11) Support for Digiboard Intelligent Serial ports that use Digiboard's
  214.            TSR comm port driver. Modem Doctor can test and support up to 4
  215.            boards with a maximum of 16 serial ports on each board.
  216.            
  217.        In addition to these new features, existing commands have been enhanced
  218.        or   rewritten  to  accommodate  the  changing  technical  features  of
  219.        contemporary hardware.
  220.  
  221.         1) Manual Login feature active in both shareware and registered
  222.            versions.
  223.         2) New /E switch to accommodate older display adapters (IBM 8541's)
  224.            that use Com4's address as a video display adapter address.
  225.         3) Improved interrupt stack routines for PS/2 machines.
  226.         4) Support for 28.8kbps modems.
  227.         5) Improved uart hardware I/O routines.
  228.         6) Default startup mode uses polled TX operations. Some uarts in
  229.            inexpensive modems have a well-know defect detected by Modem Doctor
  230.            and other communication program authors that cause transmit
  231.            interrupt problems. You can change this selection with the ALT-T
  232.            command at any time.
  233.  
  234.                                         Page 4
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.                      Modem Doctor 6.0  Technical Reference Manual
  248.  
  249.  
  250.         7) Accommodations for BOCA modems with non-standard uarts. The Line
  251.            Status registers of most uarts are meant to be read only except for
  252.            bit 1. In the BOCA uarts, all bits are read/write, causing
  253.            communication lockups. Uart routines in Modem Doctor have been
  254.            changed to work with this problem.
  255.  
  256.        Thanks to many fine people that participated in the beta testing, Modem
  257.        Doctor is a better program today than in any previous version. To these
  258.        people go  my thanks  for helping  improve the  program and  make me  a
  259.        better programmer.
  260.  
  261.        Forward
  262.        -------
  263.        Welcome to the Modem Doctor.  This documentation along with the program
  264.        is a good source of information  about how Uarts and Serial Ports  work
  265.        with modems in your Personal Computer.
  266.                 
  267.        There are two versions of the Modem Doctor; The  shareware version 6.0S
  268.        and the registered Version 6.0R. There are some differences between the
  269.        two.  Both   however   are  full-functioned   diagnostics  tools.   The
  270.        differences between the  two are as follows;
  271.                 
  272.                 Version 6.0S supports speeds to 2400 bps
  273.                 Version 6.0R supports speeds to 115,200 bps
  274.                 Version 6.0S does not include the Digital or the Analog 
  275.                   Loopback testing, or any of the dynamic handshaking tests 
  276.                   supported in version 6.0R, or the /s or /x  command-line 
  277.                   modes of operation.
  278.  
  279.        The remaining  65+ tests  of your modem  and uart  system hardware  are
  280.        fully functional. Although many people register for the higher DTE baud
  281.        rates,the  shareware version  of Modem  Doctor  is just  as capable  at
  282.        detecting your  problems as the  registered version. The  higher speeds
  283.        and uart tests serve as incentives for you to register your copy. 
  284.        Modem Doctor has  been featured in  many reviews and  included in  many
  285.        technical manuals. You can find background information in; 
  286.  
  287.               Killer PC Utilities                     QUE
  288.               Upgrading and Repairing PC's            QUE
  289.               Modems Made Easy                        Bantam
  290.               PC-Secrets                              IDG Books
  291.               Dos 6.0 Powertools                      Bantam
  292.  
  293.  
  294.                                         Page 5
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.                      Modem Doctor 6.0  Technical Reference Manual
  308.  
  309.  
  310.        Reviews of early versions of Modem Doctor can be found in many national
  311.        computer columns and also in many publications. The two best known are
  312.        PC-World and the German weekly "Der Speigel". 
  313.  
  314.        The best way to find out about Modem Doctor and Modem Doctor support 
  315.        is our BBS. We're up and running 24hrs a day at 410-256-3631. There are
  316.        hundreds  of hard-to-find communication  utilities and free  advice for
  317.        those who  call. The BBS  is free to  all who  call, no fees  or upload
  318.        requirements. The  BBS, and improvement  to Modem Doctor  are supported
  319.        totally by those who register. I sincerely wish Modem Doctor could be a
  320.        full time occupation, but the reality is  that Modem Doctor is a labor-
  321.        of-love. This is why I appreciate your support of the program. It makes
  322.        communication problems simpler for all  who are just setting forth into
  323.        Cyberspace.  This  documentation  covers  both  versions,  however  the
  324.        feature differences  above are provided for your reference. This manual
  325.        is provided  as a technical reference  for advanced users or  for those
  326.        wishing to  get more  background information on  tests. For  first time
  327.        users  I would  suggest reading  the Getting  started Manual  text file
  328.        MDR6FST.TXT, which  is a little more basic in  its approach. If you are
  329.        using  the shareware  version and wish  to order, please  use the Order
  330.        form  included  with  this  package  or  see  Section  7,  Benefits  of
  331.        registration at the  end of this documentation. You can  always get the
  332.        latest version of Modem Doctor from the Modem Doctor BBS (410-256-3631,
  333.        24 hrs, speeds to 19.2kbps). 
  334.  
  335.        Section 1. Introduction - 
  336.        ------------------------- 
  337.        The Modem  Doctor is  a professional diagnostic  tool designed  to work
  338.        with  IBM-PC's and  compatibles. There  are two  versions of  the Modem
  339.        Doctor,  the  shareware   version  and  the  registered   version.  The
  340.        registered  version of the  Modem Doctor contains  complete diagnostics
  341.        for  8250-B,  8250-A,  16450,16550,  16550A(x), and  compatible  Uarts,
  342.        RS-232  data lines,  and carrier  tests.  Some of  the many  diagnostic
  343.        features of the registered version are;            
  344.         **  Support for COM 1 through COM 8 using system IRQ's 2,3,4,5 or 7.
  345.         **  Baud Rates from 300 to 115200 bps
  346.         **  Support for Courier HST/Dual Standard/V.32 Modems [+],
  347.             US Robotics Sportster, V.34 28.8kbps modems,
  348.             Hayes 1200, 2400, Ultra and V9600 series Modems [+*],
  349.             Hayes 28.8kbps Optima modems, ZyXEL E, E+, Practical Peripherals, 
  350.             Intel, and Sierra Semiconductor modems. A Generic Driver 
  351.             is provided for all others.
  352.  
  353.  
  354.                                         Page 6
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.                      Modem Doctor 6.0  Technical Reference Manual
  368.  
  369.  
  370.         **  Auto-detection of modems that use &T0 (CCITT V.54) diagnostics
  371.         **  Auto log-in of COMM ports 1 - 4 to DOS for use by other programs.
  372.         **  Manual log-in of up to 8 COMM ports for non-standard hardware,
  373.             including those with defective Uarts (on manual selection). 
  374.         **  On-screen display of all 8250 /16450/ 16550 Uart registers.
  375.         **  On-screen display of modem S-Registers.
  376.         **  Full Diagnostic tests of Uart and RS-232 Channels including;
  377.               -- ALL Uart registers.
  378.               -- ALL RS-232 handshaking Signals.
  379.               -- 8259 Interrupt Controller mask registers 
  380.                  including dual-pic environments.
  381.               -- Digital loopback Uart tests including chips with Tri-stated 
  382.                  OUT2 signals.
  383.               -- Analog loopback data tests.
  384.          **  Full diagnostic checks of "AT" instruction set modems;
  385.               -- Carrier tests on both originate and answer frequencies.
  386.               -- Carrier test interface for "dumb" modems or data channels.   
  387.               -- Burst mode tests that stress modulation requirements and
  388.                  measure system throughput.
  389.               -- Modem microprocessor command channel diagnostics.
  390.               -- Support for high speed modems.           
  391.               -- Support for modems that use the alternate &T0 self test mode.
  392.               -- Dynamic simulated on-line testing of RTS/CTS and XON/XOFF 
  393.                  handshaking.
  394.               -- Static DTR/DSR and RTS/CTS uart handshaking tests.
  395.               -- Ability to display any S-Register pairs
  396.          **  Interactive Mode with 16K communications buffer for;    
  397.              -- TTY mode interactive communications over serial port or modem 
  398.                  while on-line.
  399.              -- Interrupt latency test, you can use this to determine if your
  400.                 display adapter is too slow for your high-speed modem.
  401.              -- Custom designed tests...help menu included.
  402.              -- On-line "Hot-key" viewing of 8250 Uart registers.
  403.          **  Hot-Keys for selecting the baud rate, to force a modem
  404.                 microprocessor test mode, and to enable/disable transmitter
  405.                 driven interrupts.
  406.          **  User Selection of modem drivers. Like printer drivers, these
  407.                 software modules add more selections and more test capability
  408.                 to The Modem Doctor. 
  409.          **  Ability to use external modem drivers. External modem drivers
  410.                 make it possible to add special modems that might not use
  411.                 standard AT conventions to the Modem Doctor without you having
  412.                 to update to a new version of the program.
  413.  
  414.                                         Page 7
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.                      Modem Doctor 6.0  Technical Reference Manual
  428.  
  429.  
  430.          **  Built in report generator that displays the results of all tests
  431.                 run on all serial ports and modems. Report can be printed at
  432.                 any time and reset at any time by the user. 
  433.          **  Status bar that continuously displays the port, speed,
  434.                 microprocessor status, Transmitter Interrupt enable status
  435.                 and modem driver selections.
  436.          **  User defined Colors for all screens
  437.          **  Compatibility with mouse drivers. Mouse drivers also properly
  438.                  enabled after exiting Modem Doctor.
  439.          **  Command Line Mode interface for setting up a modem to an
  440.                  initialization string contained in a user created file;
  441.             -- A small text file contains the port (and optional address), the
  442.               speed, and the string to send to the modem. Any text editor can
  443.               create the file at any time!
  444.          **  Automatic detection of incorrect Com1 and Com2 port assignments,
  445.              IRQ assignment errors, missing IRQ signals, and missing handshake
  446.              signals.
  447.  
  448.        The Modem Doctor and all of its documentation is copyrighted by Hank
  449.        Volpe. The shareware version of this program may be distributed on
  450.        not charged for its duplication or acquisition (except for BBS systems
  451.        that charge a user fee for system access). 
  452.  
  453.        Important for Shareware Distributors. Unlike previous versions, version
  454.        6.0 can be freely distributed  via these channels. The only requirement
  455.        that  I absolutely  insist upon  is that  you  mail us  a copy  of your
  456.        catalog for our files and that  you encourage users of your service  to
  457.        register this and all other shareware that you distribute.
  458.  
  459.        Under no conditions  can anyone accept registration fees  for the Modem
  460.        Doctor but  Hank Volpe or agents  authorized for resale  by Hank Volpe.
  461.        The Modem Doctor is distributed on as "as-is" basis, with no warranties
  462.        for  usefulness  or  suitability expressed  or  implied.  Users  of the
  463.        shareware version are granted a limited license to use this program for
  464.        a trial period  only. Please let  your conscience be  your guide as  to
  465.        what you believe  has been a fair trial period, for without the support
  466.        of users who have registered, the Modem Doctor would not be the product
  467.        that it is today.
  468.  
  469.        The Modem Doctor is  a very flexible package for both  the new user and
  470.        for the experienced technician. The focus of this manual is to give you
  471.        a technical reference regarding how the Modem Doctor works, what is the
  472.        meaning of error messages you may encounter, and how the tests are
  473.  
  474.                                         Page 8
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.                      Modem Doctor 6.0  Technical Reference Manual
  488.  
  489.  
  490.        constructed to operate between your PC and your modem. First time users
  491.        or those unfamiliar with how the Modem Doctor operates should  read the
  492.        file  MDR6FST.TXT. MDR6FST  explains how  to  start and  use the  Modem
  493.        Doctor, how the pulldowns operate, and how to use the menu  and control
  494.        system.      
  495.  
  496.        Section 2. Starting MDR     
  497.        ------------------------     
  498.        The Modem  Doctor has been designed  to work with  PC-Type serial ports
  499.        and "AT" instruction  set (so called Hayes compatible[++])  modems. The
  500.        Modem Doctor requires at least 1 serial port to operate. MDR is written
  501.        to  run under  MS or  PC  DOS 2.2  or higher,  and will  work  with any
  502.        standard display adaptor  in normal text mode. The  program requires at
  503.        least 200K of program memory space. 
  504.  
  505.        When MDR is started, it will use your current text mode. If you have
  506.        created a custom color file (see Options mode), your screen colors will
  507.        be  displayed as  you  selected them.  If not,  default colors  will be
  508.        loaded  depending on  the mode  you  are currently  in (Color  or Black
  509.        /White). Modem  Doctor starts just like any other program. From the dos
  510.        prompt, type MDR.  There are however several command  line switches you
  511.        might need to use from time to time.
  512.  
  513.        The /B switch
  514.        -------------
  515.        Code  has  been  included to  work  with  hardware-incompatible display
  516.        adapters as long  as they are at least IBM-PC Bios compatible. For most
  517.        computers, this  is not necessary  and will slow down  screen displays,
  518.        plus it will change the appearance of the input windows. The reason for
  519.        using this switch is (for example), if you  wish to route the output of
  520.        the program through a voice  synthesizer or operate it under  a program
  521.        that requires all screen writes to go through your Bios. If you wish to
  522.        use this bios  compatible mode instead of direct  display writes, start
  523.        the program using the Bios switch ;   MDR /B 
  524.  
  525.        The /D Switch
  526.        --------------
  527.        Starting  MDR with  this switch  active enables  support  for Digiboard
  528.        intelligent serial ports  (ComXi series) using Digiboard's  TSR support
  529.        driver.  Support includes  many diagnostic  and  configuration options.
  530.        Support is  included for  4 boards simultaneously  containing up  to 16
  531.        serial ports on  each board. See the section  entitled "Using Digiboard
  532.        Serial Ports".
  533.  
  534.                                         Page 9
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.                      Modem Doctor 6.0  Technical Reference Manual
  548.  
  549.  
  550.        The /E switch (** NEW **)
  551.        -------------------------
  552.        Certain  video adapters, mainly those attempting compatibility with IBM
  553.        8541 display adapters, use an address that is identical to the industry
  554.        standard address for Com4. The /E switch allows Modem Doctor to operate
  555.        on these machines. To start in this manner type; MDR /E
  556.  
  557.        The /Q switch
  558.        -------------
  559.        Starting in version 5.x tests were included to verify the accuracy of
  560.        IRQ settings. However this self-testing might not be desirable in some
  561.        computer environments. The  /Q switch makes it possible  to defeat this
  562.        self  test of  IRQ  assignments.  Using /Q,  Modem  Doctor will  report
  563.        "Standard Assignments"  and not verify the proper  configuration of IRQ
  564.        settings.  Use this  switch  if  you experience  a  "freeze-up" of  the
  565.        program  at the  initial sign-on  screen. To  bypass IRQ  verification,
  566.        start the program with the IRQ switch;  MDR /Q
  567.  
  568.        If your  computer is a PS/2, Modem Doctor  will now detect this problem
  569.        and switch in code to accommodate this peculiarity without the need for
  570.        the /Q switch.
  571.                 
  572.        The /S switch
  573.        --------------
  574.        Registered versions 4.0 and  higher also can be run  to quickly program
  575.        and  setup a Modem. To  use this mode start the  program with the setup
  576.        switch ; MDR /S (see Section 3). 
  577.  
  578.        The /X switch
  579.        --------------
  580.        Registered versions 4.0 and higher have the ability to swap the
  581.        communication  pointers for COM1 and COM2 in  memory. To use this mode,
  582.        type MDR /X. Com1's pointer will  be swapped to COM2 (and visa  versa).
  583.        You can specify any one of the 4 comm ports used by dos by typing; 
  584.        MDR /X [port] [port], where each [port] is a different comm port..ie to
  585.        swap Com1 and Com3, type MDR /X 1 3. MDR  /X without port numbers flips
  586.        com1  and com2  by default.  This condition  is not permanent.  To flip
  587.        these again, just type MDR /X  or if you used comm numbers, type MDR /X
  588.        [port]  [port].  The  reason  for  this  command  line  switch  is  for
  589.        convenience and  also to make  it easier for  technicians to  swap port
  590.        assignments without  having to  change port jumpers.  This mode  is not
  591.        generally  useful except  when  you  believe  you  have  addresses  set
  592.        incorrectly or if you wish to use a serial device that is normally Com2
  593.  
  594.                                        Page 10
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.                      Modem Doctor 6.0  Technical Reference Manual
  608.  
  609.  
  610.        as Com1 (such as a serial printer) from a high-level language that does
  611.        not support 2 comm ports.  These changes are temporary. Permanent fixes
  612.        can only be  done in these cases if you physically change the addresses
  613.        on your serial card.
  614.  
  615.        The /F switch
  616.        -------------
  617.        Normally,  Modem  Doctor and  most comm  programs directly  control the
  618.        hardware of your  computer. Uart registers, interrupt  controllers, and
  619.        system hooks  are all  involved. Another  way to  perform control in  a
  620.        machine-independent way is by using kernels. Kernels are small programs
  621.        that reside  as TSR's (Terminate  Stay Resident) in your  computer. You
  622.        can instruct Modem  Doctor to operate  in this manner,  and instead  of
  623.        assuming complete  control over  your  system, Modem  Doctor will  work
  624.        through system  kernels. X00  and BNU  are two  such  kernel or  FOSSIL
  625.        programs. If you use Modem Doctor in this manner, some uart programming
  626.        and error trapping is  not possible (because the FOSSIL drivers  do not
  627.        support function  calls to handle  all test conditions).  However, this
  628.        command can be  useful if you wish  to test the  proper operation of  a
  629.        FOSSIL  driver  in your  system.  Other  Int14  type kernels  are  also
  630.        supported. To start Modem Doctor in this mode, type MDR /F.
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.                                        Page 11
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.                      Modem Doctor 6.0  Technical Reference Manual
  668.  
  669.  
  670.  
  671.        Section 3. First Time Setup     
  672.        ---------------------------     
  673.        The first time you start the Modem Doctor, it will begin several system
  674.        checks. These checks are not repeated until you start the program over
  675.        again from the Dos prompt. First, the Modem Doctor checks to see what
  676.        hardware is available and reports its results to you. Displayed on the
  677.        bottom  line is  the  serial  number unique  to  each copy  (registered
  678.        version). If  incorrect  COMM  addresses  are detected  or  if  swapped
  679.        addresses are  detected, an  Alert-bar will be  displayed, warning  you
  680.        that a non-standard  assignment was detected, and you are  asked if you
  681.        wish to have this fixed for testing purposes only.    
  682.  
  683.        ┌───────────────────────── The Modem Doctor──────────────────────────┐
  684.        │                    Welcome to the Modem Doctor                     │
  685.        └────────────────────────────────────────────────────────────────────┘
  686.        ╒[ Modem / Uart Hardware Detection ]══════════════════════════════════╕
  687.        │ Port assignments  Base(hex)    Irq       Special Port Usage         │
  688.        │ Com port 1   [ ]     3f8        4                                   │
  689.        │ Com port 2   [ ]     2f8        3    IRQ assigned to a mouse driver │
  690.        │ Com port 3   [ ]     3e8        4                                   │
  691.        │ Com port 4   [ ]     2e8        3    IRQ assigned to a mouse driver │
  692.        │ Com port 5   [ ]                                                    │
  693.        │ Com port 6   [ ]                                                    │
  694.        │ Com port 7   [ ]                                                    │
  695.        │ Com port 8   [ ]                                                    │
  696.        │   Bus type: AT Bus    Interrupt Levels: 15   HD uses DMA Ch3?: NO   │
  697.        │   Interrupt Status :  15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0         │
  698.        └─────────────────────────────────────────────────────────────────────┘
  699.  
  700.        ╔[  Serial Port Detection ]═══════════════════════════════════════════╗
  701.        ║                       Serial port detection                         ║
  702.        ║           Searching for other standard active Comm ports            ║
  703.        ║                                                                     ║
  704.        ║                          Total Comm ports  =2                       ║
  705.        ║                    PRESS ANY KEY TO START TESTING                   ║
  706.        ║                                                                     ║
  707.        ║                                                                     ║
  708.        ║                                                                     ║
  709.         ═════════════════════════════════════════════════════════════════════╝
  710.  
  711.  
  712.  
  713.  
  714.                                        Page 12
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.                      Modem Doctor 6.0  Technical Reference Manual
  728.  
  729.  
  730.        Modem Doctor 6.0 uses a heads-up display  that shows you the Comm port 
  731.        assignment number, the base i/o address, and the interrupt line in use.
  732.        Unlike other  IRQ mapping  utilities, Modem  Doctor actually  creates a
  733.        system interrupt and traps its ID. Running under DOS, Modem Doctor will
  734.        always identify the correct IRQ line. In multi-tasking situations, this
  735.        test may  not be valid, which is  why a new window has  been created to
  736.        allow you to easily select any IRQ line you wish to use.
  737.  
  738.        New in version 6, Modem Doctor also identifies the Computer BUS type
  739.        in  use  (PC,  AT,  PS/2),   the  maximum  number  of  system  hardware
  740.        interrupts, the status of DMA channel  3 (sometimes used for Hard Drive
  741.        access,    sometimes free  for  use  by  intelligent serial  board  DMA
  742.        transfers), and  the  status of  all interrupts  (gray means  inactive,
  743.        white means active).
  744.  
  745.           ╔[  Ports  ]═╗   ╔[  IRQ's  ]═╗  ╔[  Baud  ]══╗
  746.           ║ Use COM 1  ║   ║ Use IRQ 2  ║  ║   300 BPS  ║
  747.           ║ Use COM 2  ║   ║ Use IRQ 3  ║  ║  1200 BPS  ║
  748.           ║ Use COM 3  ║   ║ Use IRQ 4  ║  ║  2400 BPS  ║
  749.           ║ Use COM 4  ║   ║ Use IRQ 5  ║  ║  4800 BPS  ║ *               
  750.           ╚════════════╝   ║ Use IRQ 7  ║  ║  9600 BPS  ║ * 
  751.                            ║ Use IRQ 9  ║  ║ 19200 BPS  ║ *
  752.                            ║ Use IRQ10  ║  ║ 38400 BPS  ║ Registered Versions
  753.                            ║ Use IRQ11  ║  ║ 57600 BPS  ║ * only
  754.                            ║ Use IRQ12  ║  ║115200 BPS  ║ *                 
  755.                            ║ Use IRQ15  ║  ╚════════════╝  
  756.                            ╚════════════╝
  757.                
  758.        Next, you are instructed to pick  from a list of valid Comm ports.  The
  759.        only ports that are listed are valid ports that MDR found when it first
  760.        started, or ports you logged in using the manual login mode. 
  761.        Use the arrow  keys to find  your selection, and  then press return  to
  762.        select.
  763.  
  764.        A window now opens  showing you your IRQ line choices.  The sliding bar
  765.        will pick the IRQ line Modem Doctor found valid during the first set of
  766.        tests. You can change this to any IRQ line you wish. A note of  caution
  767.        though, if you pick an incorrect IRQ line, the following tests will not
  768.        be valid.
  769.  
  770.        A window now opens  showing you valid Comm port speeds.  Select a speed
  771.        fromthis menu. Please note, don't select a speed faster than your modem
  772.        can handle. The reason  for faster speeds is so communication links can
  773.  
  774.                                        Page 13
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.                      Modem Doctor 6.0  Technical Reference Manual
  788.  
  789.  
  790.        also be  tested.   Use the  arrow keys  and press  return to  make your
  791.        selection.
  792.                 
  793.        At this point you are in the options  menu. If you select "Test Modem",
  794.        a series of commands and tests will  be performed. Please check to make
  795.        sure  the modem  is  on line  and  running. If  you  select "Test  Uart
  796.        Hardware", only  the Uart will be tested. The  modem will not be setup.
  797.        This selection is useful only if you  wish to test an RS-232 line or  a
  798.        "dumb" modem.Selection  3 aborts to  the main menu. (NOTE:  Version 5.0
  799.        and higher include "hot-keys"  to force the Modem Doctor to believe you
  800.        are using a modem with a microprocessor and for changing the baud rate.
  801.        Read Section 4 on the menu system for more details).       
  802.  
  803.        A. Test Modem/ Uart     
  804.          ---------------------
  805.        ╒[ Modem / Uart System Diagnostics ]══════════════════════════════════╕
  806.        │ Comm port /IRQ in use [ ] Port = 3  Address = 3E8  IRQ = 4          │
  807.        │ Int 14 interface      [ ] Inactive                                  │
  808.        │ Uart type             [ ] 16550AN/AF/AFN buffered Uart detected     │
  809.        │ Baud rate selected    [ ] 2400                                      │
  810.        │ Baud Rate reg test    [ ] Confirmed correct baud rate               │
  811.        │ Modem Microprocessor  [ ] Diagnostics passed                        │
  812.        │ Modem ID Type         [ ] 16800+ bps modem                          │
  813.        │ Modem Fax Ability     [ ] G3 EIA Class 2 Fax Capable                │
  814.        │ Modem Memory/Rom      [ ] Memory /Rom test passed                   │
  815.        └─────────────────────────────────────────────────────────────────────┘
  816.        ╒[ Diagnostic Dialog]═════════════════════════════════════════════════╕
  817.        │              Modem microprocessor command bus active                │
  818.        │ Modem ID reports a 16800 ZyXel U-1496 Series &T1  modem installed   │
  819.        │                    Modem uses EIA Fax Commands                      │
  820.        │                Modem microprocessor memory tests OK                 │
  821.        │            Modem microprocessor accepts setup commands              │
  822.        │                    Modem microprocessor ON-LINE                     │
  823.        │                Modem - uart status appears correct                  │
  824.        │                     Press any key to continue                       │
  825.        └─────────────────────────────────────────────────────────────────────┘
  826.  
  827.  
  828.        The preceding page shows you the results of a normal test with a modem.
  829.        The first  step tests the  uart to  modem hardware.  If any  connection
  830.        errorsare discovered, they are reported to the screen. If no errors are
  831.        detected, the Modem Doctor will check to see what type of uart is
  832.        installed. 
  833.  
  834.                                        Page 14
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.                      Modem Doctor 6.0  Technical Reference Manual
  848.  
  849.  
  850.        There are differences between the different types of uarts, and
  851.        the  Modem Doctor uses this test to determine  how to test the uart and
  852.        what registers to display to the  screen. Next, the uart is set to  the
  853.        desired baud rate, and the uart speed register is queried to  make sure
  854.        it did set up  properly. Next, the modem command  bus is tested and  if
  855.        its  compatible, the  modem ID  information is  queried from  the modem
  856.        microprocessor. The Modem Doctor then  issues a command that forces the
  857.        modem to run a checksum of its ram or rom memory. If your modem returns
  858.        an OK, then  the Modem Doctor assumes your modem passed properly. If an
  859.        error  is returned, you will receive an  error message stating that the
  860.        modem  reported  a rom/ram  check  failure.    If  your modem  has  fax
  861.        capabilities, Modem  Doctor attempts  to determine  is Group  (command)
  862.        capabilities. Finally, the modem is setup for  diagnostics. Note: These
  863.        setup strings do not overwrite any non-volatile storage. 
  864.  
  865.        If your modem setup properly, all the uart registers and the First 16
  866.        Modem S registers  are displayed. This  display is  not shown the  next
  867.        time you log  in a Comm  port unless  you press the  space bar. If  the
  868.        modem does not respond  to certain parts  of the tests, error  messages
  869.        are reported. 
  870.  
  871.                                 Testing Modem Microprocessor
  872.                                 ---------------------------- 
  873.                        Modem Microprocessor Command Mode Not Detected 
  874.                                 Software Reset Initiated      
  875.                 
  876.        This message is displayed if the  modem did not respond the first  time
  877.        for a query to its status. This could happen for any number of reasons,
  878.        including that the modem was still on-line and not in the command mode.
  879.        A  soft-reset  is  performed,  which  essentially  tries  to  wake  the
  880.        processor up. 
  881.  
  882.                No Response...resetting Modem Microprocessor ...attempt #1
  883.                No Response...resetting Modem Microprocessor ...attempt #2
  884.                No Response...resetting Modem Microprocessor ...attempt #3
  885.                 
  886.        After 3 soft-resets,  the Modem Doctor assumes that the modem is jammed
  887.        and needs a hardware reset. A  hardware reset is the program equivalent
  888.        of turning the modem  on and off again.  This is the only way  to reset
  889.        some internal  modems  that  get "jammed"  when the  computer is  first
  890.        turned on. Clearing a "jam" usually takes no more than 2 attempts.   
  891.  
  892.  
  893.  
  894.                                        Page 15
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.                      Modem Doctor 6.0  Technical Reference Manual
  908.  
  909.  
  910.                      Trying Hardware reset of the Modem Microprocessor
  911.                 
  912.        The Hardware reset is performed, and again the modem microprocessor is
  913.        strobed for its status.  
  914.                 
  915.                                Software Reset Initiated
  916.                 
  917.        After a hardware reset, a soft reset is performed again, attempting to
  918.        wake  the processor  up.  If  this fails,  the   following  message  is
  919.        displayed; 
  920.                 
  921.                      Modem Microprocessor Did Not Accept Setup Commands 
  922.                      Trying a Hardware reset of the Modem Microprocessor
  923.          
  924.  
  925.        After one more attempt at waking the modem up, the Modem Doctor assumes
  926.        that  the modem is not compatible  and  based on the status given it by
  927.        the Uart, it will report if the device is off or not connected.  
  928.                 
  929.                  WARNING..This unit does not have a Compatible Modem attached
  930.                  WARNING..The Modem Device appears to be off or not connected
  931.  
  932.        The registers are now displayed for diagnostic tests, and a conclusion
  933.        based on  the status  of  the registers  is displayed.  There are  many
  934.        reasons why the modem/uart  could fail. See the error  code section for
  935.        details. If the  Uart is  fine, but  the modem is  not compatible,  the
  936.        program will tell  you that the Uart hardware tests ok and display this
  937.        in a window to the right of the register display.        
  938.  
  939.        Note: The reason for testing the modem command set so extensively is so
  940.        there can be no doubt about the modem accepting commands. You can force
  941.        The Modem Doctor to believe it has a modem with a compatible
  942.        microprocessor by  using the  hot-key Alt-F. See  Section 4  about Menu
  943.        system commands.
  944.                 
  945.        B. Uart Tests     
  946.        ---------------     
  947.        The uart test is performed every time either the modem or the uart test
  948.        is selected. Essentially,  the uart test programs all  of the registers
  949.        of the uart and  looks to see that the correct  values have been placed
  950.        in them. If  any one of  the registers fails  to set, the Modem  Doctor
  951.        will display all of the registers and a diagnostic message. After that,
  952.        it looks to see that an RS-232  loop is active. If not, it displays  an
  953.  
  954.                                        Page 16
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.                      Modem Doctor 6.0  Technical Reference Manual
  968.  
  969.  
  970.        error message saying that the loop is either disconnected or a register
  971.        in the uart  is defective. If  all checks well,  the type of uart  chip
  972.        that is installed is returned. The  type of uart chip is important  for
  973.        the way the  Modem Doctor will test  and display the  uart. Essentially
  974.        there are 3 types it can detect;      
  975.  
  976.        8250-B
  977.        This is the original uart installed in many PC's and serial port add-on
  978.        cards.      
  979.                 
  980.        16450/8250-A
  981.        This is  an upgraded  uart that  fixes a  bug in  the interrupt  enable
  982.        register  of the 8250-B  and also tri-stated  the OUT2 pin  of the chip
  983.        during loopbacks.  It also adds  a scratch-pad register as  the highest
  984.        register. This register is tested by the Modem Doctor but not displayed
  985.        because it  never has what you  would consider as a  "correct" setting.
  986.        The 16450 is    used primarily in 80286 (AT) systems.
  987.  
  988.        16550
  989.        This chip is essentially a faster 16450.  However, it cannot be used in
  990.        a FIFO  buffering  mode, but  it does  allow for  a  programmer to  use
  991.        multiple DMA channels  and thus increase throughput on an  AT or higher
  992.        class computer system.      
  993.  
  994.        16550A(x)
  995.        This chip is a faster 16450 with a built in transmit and receive FIFO
  996.        buffer. It also allows multiple DMA channel access. You should see this
  997.        chip in your 80386, 80486, Pentium, or RISC type machine. You should 
  998.        also consider installing this chip if you do any serious communications
  999.        at 9600 bps or higher while you are multi-tasking. Whenever a 16450,
  1000.        16550 or 16550AN is displayed, different diagnostics and/or different 
  1001.        register mnemonics are displayed. The 16550AN's ability to enable 
  1002.        and disable FIFO mode is also tested. In any case and with any uart, 
  1003.        each register is checked for proper values. If anyone of them fail, 
  1004.        a window will open and display a possible cause for the problem. 
  1005.  
  1006.                           Preliminary Diagnostic Checks of Hardware 
  1007.                           ----------------------------------------- 
  1008.                                  Testing Uart Hardware Only  
  1009.                                  -------------------------- 
  1010.                                A 8250-B Uart has been detected 
  1011.                              Modem - Uart Status appears correct
  1012.                 
  1013.  
  1014.                                        Page 17
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.                      Modem Doctor 6.0  Technical Reference Manual
  1028.  
  1029.  
  1030.        The first time through these tests, the registers will display for
  1031.        diagnostics. Unlike the modem tests, only the uart registers are
  1032.        displayed. From then on, if the test results are correct, you will be
  1033.        prompted if  you wish to have the registers  displayed. If a test fails
  1034.        at any time, you will always see the registers displayed along with an 
  1035.        appropriate diagnostic message.        
  1036.                 
  1037.        C. Return to main menu     
  1038.        ----------------------     
  1039.        Selecting this returns you to the main menu, this allows you  to change
  1040.        an entry made in error without having to wait for the diagnostic checks
  1041.        to fail. In any event, after any of these tests have been run, you will
  1042.        then enter the Modem Doctor's Main Menu.
  1043.  
  1044.        Section 4.0 The Main Menu
  1045.        -------------------------
  1046.        The  main  menu consists  of a  sliding  bar from  which you  make your
  1047.        selections.  Using the  arrow keys  you slide  left or  right. Pressing
  1048.        ENTER selects a  feature. If the feature has a pulldown window, you use
  1049.        the  up  or down  arrows to  navigate,  and then  ENTER to  select that
  1050.        feature.
  1051.  
  1052.        4.01 Hot-Key selection 
  1053.        ----------------------  
  1054.        In addition to these menu selections, there are three hot-keys that are
  1055.        active at nearly all times in  the Modem Doctor. The ALT-B  combination
  1056.        can be  used to change  the baud rate from  the main menu,  from inside
  1057.        pulldowns and Manual  test section. A  window will  pop-up and you  can
  1058.        pick your desired serial port speed.  This can save a lot of time  when
  1059.        you wish to  test a  modem at various  speeds. Using the  Setup /  Test
  1060.        Modem &  Uart mode  is the safest  way (because  it verifies  the modem
  1061.        microprocessor  accepts  commands  properly  at  the  selected  speed),
  1062.        however if you  use the ALT-B command,  you will take a  short-cut that
  1063.        can help you when testing your modem. 
  1064.               
  1065.        The next hot-key is  ALT-F, or FORCE Micro on-line.  Actually, there is
  1066.        no "force" involved.  By pressing this key,  you make the  Modem Doctor
  1067.        believe there is  a AT Instruction set compatible  modem attached. This
  1068.        can be handy for troubleshooting a modem  that doesn't work properly at
  1069.        certain speeds  or under certain  conditions.  The  Setup Test  Modem &
  1070.        Uart  section will not  allow any AT  Instruction set Carrier  tests on
  1071.        modems that  it cannot properly  setup. The ALT-F  combination bypasses
  1072.        this and allows such testing. When you press ALT-F, you will notice the
  1073.  
  1074.                                        Page 18
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.                      Modem Doctor 6.0  Technical Reference Manual
  1088.  
  1089.  
  1090.        Status Bar will say that  a modem microprocessor is on-line.   Starting
  1091.        with Version 4,  this key can be  operated as a toggle  between on-line
  1092.        and off-line. This key is active inside of any menu at any time.
  1093.  
  1094.        Another hot-key  is ALT-T.  It allows  you to  toggle how  Modem Doctor
  1095.        treats   the transmission of  characters. Most times,  interrupt driven
  1096.        transmissions  are  used because  they  are  fast,  waste no  CPU  time
  1097.        looping,  and give the best throughput. However, some early 8250  uarts
  1098.        cannot handle interrupt-driven transmits without errors. When you start
  1099.        Modem Doctor,  transmit-driven interrupts  are disabled.  If you  would
  1100.        like  to enable  and test  your  system for  transmit driven  interrupt
  1101.        capability,  press  ALT-T.  If  you  experience  errors  when  transmit
  1102.        interrupts  are active and  your  errors  go away when  this feature is
  1103.        inactive, you either  have a uart  that  cannot handle interrupt-driven
  1104.        transmit routines, or your system is   too slow to process and  support
  1105.        this feature.
  1106.  
  1107.        The last hot-key is the ALT-H for help. This key will give you varying
  1108.        levels of help. From the main menu, it gives a terse help just like
  1109.        pressing the down arrow key does. Inside of a pulldown, it gives you
  1110.        expanded help, just as selecting the appropriate help section of the
  1111.        pulldown also does.
  1112.  
  1113.        4.1 Login In Comm ports     
  1114.        -----------------------     
  1115.        When you select this menu, you are offered these choices               
  1116.          
  1117.  
  1118.        ╔[  Comm Port Login  ]═══════════╗
  1119.        ║ Let me Auto Detect COMM Ports  ║ <- Searches for all Comm ports
  1120.        ║ You Manually Enter COMM Ports  ║ <- You enter port addresses
  1121.        ║ Help with Auto login Commands  ║ <- Detailed help or ALT-H
  1122.        ║      Return To Main Menu       ║
  1123.        ╚════════════════════════════════╝                              
  1124.  
  1125.        Option 1 repeats what the Modem Doctor does when you first begin to run
  1126.        the program. Option 2 allows you to enter a "non" standard port address
  1127.        and assign one of the two Interrupt lines to  use with the Uart. Option
  1128.        3  gives you  an expanded,  on-line  help description  of these  tests.
  1129.        Option 4 returns to the main menu.      
  1130.  
  1131.  
  1132.  
  1133.  
  1134.                                        Page 19
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.                      Modem Doctor 6.0  Technical Reference Manual
  1148.  
  1149.  
  1150.        4.11 What do IRQ's and COMM Ports do ? 
  1151.        ---------------------------------------      
  1152.        Each  time  a character  is  received by  a modem,  it  has to  get the
  1153.        attention of the  computer by raising an interrupt  request line (IRQ).
  1154.        PC-type computers  have 8 of  these lines,  AT-type (ISA bus),  MCA and
  1155.        EISA computers  have at  least 16. The  8259 Interrupt  controller chip
  1156.        handles these  requests for  attention. By design,  COM1 uses  IRQ4 and
  1157.        COM2 uses IRQ3. IRQ7 is assigned to a printer, IRQ5 to the Hard Drives.
  1158.        It is possible to use COM1 and COM2 or COM3 and COM4 at the same  time,
  1159.        but you  cannot use  COM1 and COM3  or COM2 and  COM4 at the  same time
  1160.        because  these share IRQ  lines. If you  needed to  use 3 or  more COMM
  1161.        ports  at the same  time, you would  need to use another  IRQ line. The
  1162.        best  bets are IRQ7  and IRQ5, because  they may be  available when you
  1163.        need  them. IRQ7  is really  only needed by  programs that  use printer
  1164.        interrupts (background  type spoolers  for example).  IRQ5  is used  by
  1165.        fixed disks.  It may or may  not cause a  conflict if you use  this IRQ
  1166.        line with your modem. PC type computers  are quite limited because they
  1167.        only have 8 IRQ lines and most are reserved. AT type computers have  16
  1168.        IRQ lines. 
  1169.  
  1170.        A good tip would be to consult  your hardware manual to find out if you
  1171.        can or can't use these other IRQ's. However, if you  do not need to use
  1172.        3  or more  COMM ports at  one time,  then it is  best to  stick to the
  1173.        reserved IRQ4 and IRQ3 for all of your activity. 
  1174.                        
  1175.        4.12 Port assignments and their meaning 
  1176.        ---------------------------------------  
  1177.        Like IRQ lines, certain  port addresses were reserved to work  with the
  1178.        PC's  external hardware  devices. Two  of  these were  reserved by  all
  1179.        manufacturers; 3F8 (HEX)  and 2F8 (HEX).  Although  only two COMM ports
  1180.        were supported by the original  ROM-BIOS, there are two additional port
  1181.        memory locations  available for use by MS-DOS  and PC-DOS applications.
  1182.        These  reserved  port addresses  are  3E8  (HEX)  and 2E8  (HEX).  Most
  1183.        internal  modems come  with  these  4 ports  as  selections along  with
  1184.        several IRQ line combinations.  There is  a "quirk" in the way that the
  1185.        ROM-BIOS logs in  these ports. If the Power on self-tests (POST) do not
  1186.        find a 3F8 serial port but they do find a 2F8, then the 2F8 serial port
  1187.        is mistakenly  assigned to COM1. To add to  this, the reserved IRQ line
  1188.        for COM1 is IRQ4. But this serial Port of 2F8 is using COM2's  address,
  1189.        which means it needs IRQ3 instead of IRQ4. So, if you are trying to use
  1190.        Basic,  Pascal, or DOS  for COM1 operations,  the serial port  or modem
  1191.        will  not be able to  work. The general  rule thus is  "No COM1 without
  1192.        COM2". 
  1193.  
  1194.                                        Page 20
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.                      Modem Doctor 6.0  Technical Reference Manual
  1208.  
  1209.  
  1210.        The Modem Doctor when it is run will detect this log-in problem and
  1211.        display an  "alert-bar" with  a  message to  you that  points out  this
  1212.        error. You can  then elect to correct this for the purposes of testing.
  1213.        Remember  though,  you  can  only fix  these  addresses  permanently by
  1214.        changing the  settings on your serial  port or internal modem.  You can
  1215.        run  Modem Doctor with the  /X switch to fix  this problem at boot time
  1216.        until you do change the address settings permanently. The addresses for
  1217.        PC's are standardized in  order for communication programs  to properly
  1218.        work. As stated above, the industry standards are;      
  1219.  
  1220.                 COMM 1  3F8   COMM 2  2F8    COMM 3  3E8    COMM 4 2E8
  1221.                 IRQ4          IRQ3           IRQ4           IRQ3      
  1222.  
  1223.                 
  1224.                 COMM 5  3F8   COMM 6  2F8    COMM 7  3E8    COMM 8  2E8
  1225.                 IRQ7          IRQ7           IRQ5           IRQ5      
  1226.                
  1227.        The port addresses for serial ports  (1-4) are held in a reserved  area
  1228.        of  memory. The  "base  port" of  each  of these  uarts is  saved  in a
  1229.        distinct  area. When  you first  start  the Modem  Doctor, the  program
  1230.        checks  these locations  to see  if there  are any  Comm  ports already
  1231.        logged in by  Dos. If not, a  search is conducted for  the PC's default
  1232.        Comm 1 and Comm  2 port values and these are logged  in. Next, a search
  1233.        is  performed for  the other  industry standard  Comm ports.  Some PC's
  1234.        already log  these in,  however IBM-PC's and  those that  mimic exactly
  1235.        their  ROM-BIOS routines do not log in a  COMM 3 or a COMM 4. The Modem
  1236.        doctor does log these  in, and as a side benefit,  these stay logged in
  1237.        until the  next warm or cold boot  is  performed on  your computer. Why
  1238.        would  Dos  not  log  in  a port?  Well,  some  multi-tasking  programs
  1239.        overwrite this area to prevent "swapping" of communication programs and
  1240.        it is possible that they might not be properly restored on  exit. Next,
  1241.        a search is  made for the custom  comm ports 5-8.  These ports are  not
  1242.        held in DOS at all, but are held in program memory by  the Modem Doctor
  1243.        after a user logs the port in using the Manual log-in mode (see below).
  1244.        If one  of these  ports is  found, it will  be added  to the  comm port
  1245.        option menu for you to use when you test the modem.  The reason
  1246.        for  the custom  ports is  to  help users  who  are using  non-standard
  1247.        interrupt  lines (IRQ7,IRQ5).  Unlike the  Dos  logged-in ports,  these
  1248.        assignments disappear when the Modem Doctor is exited. The Modem Doctor
  1249.        follows the accepted arraignment of these comm Port /IRQ line pairings.
  1250.        However, you do have full control at  all times over all port addresses
  1251.        and IRQ assignments  and can change them using the Manual Login mode.  
  1252.        As  far as the 2 Options  presented by the Login  Mode, option 2 is the
  1253.  
  1254.                                        Page 21
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.                      Modem Doctor 6.0  Technical Reference Manual
  1268.  
  1269.  
  1270.        only  real option available. Please use it with caution. The  only need
  1271.        for this option is for logging in a comm port that does  not use any of
  1272.        the  listed industry  standards as  its base port  address or  IRQ line
  1273.        assignments. Consult  your serial port  or Modem's user manual  to make
  1274.        sure you enter the exact port  address and select the correct Interrupt
  1275.        line to use with it. Otherwise  the Modem Doctor will not recognize  or
  1276.        be able to test any device hooked to this port. Protection  is included
  1277.        in this routine to keep someone from accidentally entering a port  that
  1278.        is used by the system  board, display adapters, or fixed  disk adaptor.
  1279.        Entering any of these values, or an error, will result in the display;
  1280.  
  1281.                         "WARNING...RESERVED port...RETRY ENTRY"      
  1282.  
  1283.        After running option 1 or 2 , you must tell the Modem Doctor which comm
  1284.        port you wish to use so that testing can begin. Pressing the ESCAPE key
  1285.        or pressing a left or right arrow key works the same as Option # 3 and
  1286.        returns you to the main menu.              
  1287.  
  1288.        4.13 Testing defective Ports 
  1289.        ----------------------------  
  1290.        Whenever the Modem  Doctor checks to see if a port is working properly,
  1291.        it checks  the status of several  registers. If a uart  appears "dead",
  1292.        the Modem  Doctor will tell you that the port  was not "found". You can
  1293.        use the Manual mode and override this determination. This allows you to
  1294.        test a defective port to find out what  is wrong. If you tell the Modem
  1295.        Doctor for example to use serial Port 2F8 as COM2  and  you do not have
  1296.        a COM2, the  message "COM2 not Found"  will be returned with  an option
  1297.        "Override [Y/N] ?".  Answering "Y" will force  the login of this  port.
  1298.        Certainly there  is no benefit  to testing a  non-existent port,  but a
  1299.        port that  is defective  may not  be logged-in.  So, you  now have  the
  1300.        option  to test  this defective  port hardware  to pinpoint  a problem.
  1301.        Combined  with  the register  display  and diagnostics,  you  will most
  1302.        likely be able to pin-point any uart problem quickly and easily. 
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.                                        Page 22
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.                      Modem Doctor 6.0  Technical Reference Manual
  1328.  
  1329.  
  1330.        4.2 Regs     
  1331.        -------------      
  1332.          ╔[  Register Tests  ]══════════════╗
  1333.          ║ Quick uart register diagnostics  ║  <- Displays all registers
  1334.          ║ DTR/DSR  RTS/CTS echo test       ║  <- Tests handshake lines
  1335.          ║ DTR Continuous Pulse test        ║  <- New, Pulses DTR line on/off
  1336.          ║ RTS Continuous Pulse test        ║  <- New, Pulses RTS line on/off
  1337.          ║ Dynamic  RTS/CTS handshake test  ║ +<-|Handshakes under simulated
  1338.          ║ Dynamic Xon/Xoff handshake test  ║ +<-|on-line conditions.
  1339.          ║ Display any 10 S-registers       ║  <- Display S-registers
  1340.          ║ Help and info on these tests     ║  <- Help or ALT-H
  1341.          ║       Return to main menu        ║
  1342.          ╚══════════════════════════════════╝
  1343.                                                     + registered version only
  1344.  
  1345.        The register display section can be an invaluable diagnostic tool. What
  1346.        this does is "poll" all of the status registers of the uart, and the
  1347.        interrupt controller to  tell you exactly what  is going on.   When you
  1348.        use the setup mode, the Modem Doctor checks all of these  registers for
  1349.        correct   information. If something  wrong is discovered, a  warning is
  1350.        displayed  on the screen telling you what  the Modem Doctor believes is
  1351.        wrong. Many different error conditions  are checked, see the error code
  1352.        section for a listing. Each  register contains a Mnemonic for each  one
  1353.        of the data bits.   Bits that are  a logic low ( = 0) are displayed  in
  1354.        low intensity, those that are a logic high (=  1) are displayed in high
  1355.        intensity.  On a color monitor, this is easy to see. On a Mono Monitor,
  1356.        make  sure you  have the    brightness and  contrast controls  properly
  1357.        adjusted to  see  the difference  between  the two  status  conditions.
  1358.        (Note: Version 4 allows you to pick your own custom colors, however, it
  1359.        will still alternate between high intensity and low intensity shades of
  1360.        the colors you select for the uart register displays).
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.                                        Page 23
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.                      Modem Doctor 6.0  Technical Reference Manual
  1388.  
  1389.  
  1390.  
  1391.        -[ Line Control Register ]----------      
  1392.        |  DLB STB STP EPS PEN STB WS1 WS0  |     
  1393.        ------------------------------------      
  1394.        This register controls  many of the setup characteristics  of your uart
  1395.        and how it behaves to your PC. This register is responsible for setting
  1396.        baud rate, setting  break code transmission, parity, and  the length of
  1397.        the serial stream  word. 
  1398.                 
  1399.        DLB    Divisor Latch          Used to access the baud rate registers.  
  1400.                                      Should be low for all displays.
  1401.                 
  1402.        STB    Set Break              If high, the modem transmits a
  1403.                                      break signal, should be low normally.    
  1404.        STP    Stick Parity           Should be low normally    
  1405.        EPS    Even Parity select     High = even parity..should be low
  1406.                                      normally.   
  1407.        PEN    Parity Enable          Enable parity checks, should be low
  1408.                                      normally.
  1409.        STB    Stop Bits              Number of stop bits, should be low
  1410.                                      normally to indicate 1 stop bit character
  1411.                                      only.
  1412.        WS1    Word Length Select 1     
  1413.        WS0    Word Length Select 0   These two bits are used to determine the
  1414.                                      serial data word length. Both should be
  1415.                                      high normally to indicate a length of 8
  1416.                                      bits.
  1417.                 
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.                                        Page 24
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.                      Modem Doctor 6.0  Technical Reference Manual
  1448.  
  1449.  
  1450.  
  1451.        -[ Line Status Register ]----------- 
  1452.        |      TSE THE BI  FE  PE  OE  DR   |      
  1453.         ___________________________________      
  1454.                 
  1455.        The  line status  register  reports error  conditions  that might  have
  1456.        occurred between the PC and the Uart.      
  1457.  
  1458.        TSE    TX Shift Register      A high indicates that all characters
  1459.                                      sent to the Uart were transmitted. Should
  1460.                                      be High Normally.      
  1461.  
  1462.        THE    TX Holding Register    A high indicates that the Uart can now   
  1463.               Empty                  accept a new character from the PC.Should
  1464.                                      be high normally. 
  1465.  
  1466.        BI     Break Interrupt        A high indicates that a break signal was 
  1467.                                      received. Should be low normally.      
  1468.  
  1469.        FE     Framing Error          A high indicates that a serial data train
  1470.                                      did not have a proper stop bit. Should be
  1471.                                      low normally.   
  1472.  
  1473.        PE     Parity Error           A high indicates that the received serial
  1474.                                      data's parity did not match what the uart
  1475.                                      was programmed to receive. Should be low 
  1476.                                      normally.     
  1477.  
  1478.        OE     Overrun Error          A high indicates that a character in the 
  1479.                                      receive buffer was not read by the PC in 
  1480.                                      time, and another character overwrote and
  1481.                                      destroyed it. Should be low normally. 
  1482.  
  1483.        DR     Data Ready             A High indicates that a character has
  1484.                                      been received and is ready to be read by 
  1485.                                      the PC from the receiver buffer. Should
  1486.                                      be low normally for these test, but can
  1487.                                      vary while data is coming in from the
  1488.                                      modem. 
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.                                        Page 25
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.                      Modem Doctor 6.0  Technical Reference Manual
  1508.  
  1509.  
  1510.  
  1511.  
  1512.        -[ Modem Control Register ]---------
  1513.        |              LP  OT2 OT1 RTS DTR  |     
  1514.        ------------------------------------       
  1515.                 
  1516.        The Modem Control register handles all of the interfacing between the  
  1517.        Uart  and  the modem.  Only  5 signals  are  needed for  this  level of
  1518.        control.   
  1519.         
  1520.                 
  1521.        LP     LOOP                   A high indicates that the loopback
  1522.                                      digital diagnostic has been activated.
  1523.                                      This feature only works with 8250 uarts
  1524.                                      or those that are 100% compatible. This
  1525.                                      is used in the digital loopback test. 
  1526.  
  1527.        OT2    OUT 2                  A high enables the uart to generate
  1528.                                      interrupts. A low disables interrupts.
  1529.                                      This should always be high for testing
  1530.                                      purposes.  
  1531.           
  1532.        OT1    OUT 1                  On 100% compatible modems, a high on this
  1533.                                      pin will perform a hardware reset of the
  1534.                                      modem in some compatible designs.Normally
  1535.                                      this is a low.
  1536.  
  1537.        RTS    Request to Send        A Handshaking signal that is used by some
  1538.                                      modems to enable data transfer between
  1539.                                      the modem and the Uart. Should be high
  1540.                                      for testing purposes.
  1541.  
  1542.        DTR    Data Terminal Ready    A Handshaking signal that is used by some
  1543.                                      modems to enable data transfer between
  1544.                                      the modem and the uart. Should be high 
  1545.                                      for testing purposes.
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.                                        Page 26
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.                      Modem Doctor 6.0  Technical Reference Manual
  1568.  
  1569.  
  1570.  
  1571.        -[ Modem Status Register ]----------      
  1572.        |  RLS RI  DSR CTS DRD TER DDR DCS  |     
  1573.        ------------------------------------      
  1574.        The Modem  Status Register  returns the status  of the  control signals
  1575.        sent by the modem to the Uart.      
  1576.                 
  1577.        RLS    Received Line Detect   A high indicates that a carrier has been 
  1578.                                      received by the modem. When the Analog
  1579.                                      tests are run, this should be high. If
  1580.                                      it is not, it is still possible that the
  1581.                                      modem is ok, however the cable from the
  1582.                                      modem to the uart (for externals only)
  1583.                                      might not have a complete circuit due to
  1584.                                      faulty wiring of the RS-232 cable. This
  1585.                                      signal is very important for some
  1586.                                      communications programs to operate
  1587.                                      properly.      
  1588.  
  1589.        RI     Ring Indicator         A high indicates that the modem detected 
  1590.                                      a ringing signal on the phone line. 
  1591.                    
  1592.        DSR    Data Set Ready         This is part of the DTR/DSR Handshaking
  1593.                                      pair that is used by some modems to
  1594.                                      control the flow of data. Normally it
  1595.                                      will be a high. 
  1596.  
  1597.        CTS    Clear to Send          This is part of the RTS/CTS Handshaking
  1598.                                      pair that is used by some modems to
  1599.                                      control the flow of data. Should normally
  1600.                                      be a high.
  1601.  
  1602.        DRD    Delta Received         Line Signal Detect. A high indicates that
  1603.                                      the Received Line Signal has changed
  1604.                                      state. Some communications programs use
  1605.                                      this also as an indication that a carrier
  1606.                                      was detected by the modem. 
  1607.        TER    Trailing Edge
  1608.                 Indicator            A high indicates that the Ring Indicator 
  1609.                                      changed state. Some communications
  1610.                                      programs use this as an indication that
  1611.                                      the phone has rung.      
  1612.  
  1613.  
  1614.                                        Page 27
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.                      Modem Doctor 6.0  Technical Reference Manual
  1628.  
  1629.  
  1630.        DDR    Delta Data Set Ready   Indicates that the DSR signal has changed
  1631.                                      state.      
  1632.  
  1633.        DCS    Delta Clear to Send    Indicates that the CTS signal has changed
  1634.                                      state. 
  1635.                 
  1636.        If a 8250-B / 16450 or 8250A Uart was detected, the following is
  1637.        displayed;      
  1638.               
  1639.        -[ Interrupt ID Register ]----------
  1640.        |                      ID1 ID0 ITP  |     
  1641.        ------------------------------------       
  1642.                 
  1643.        The  Interrupt  ID  Register is  used  to  tell the  CPU  what  kind of
  1644.        interrupt occurred.      
  1645.  
  1646.        ID0    Interrupt Bit 2     
  1647.        ID1    Interrupt Bit 1        These two signals are a binary code which
  1648.                                      can be read by the CPU to tell what kind
  1649.                                      of interrupt occurred. Both bits high
  1650.                                      indicates an error occurred or a break
  1651.                                      interrupt wasreceived.  Bit 2 high and
  1652.                                      Bit 1 low indicates that data is ready to
  1653.                                      be read by the CPU. Bit 1 high and bit 2
  1654.                                      low indicates that a ring signal or
  1655.                                      carrier signal was received. For testing
  1656.                                      purposes, only the Data ready mode is
  1657.                                      used. 
  1658.  
  1659.        ITP    Interrupt Pending      A Low indicates that an interrupt has
  1660.                                      occurred. For testing purposes, this
  1661.                                      should always be high if data was
  1662.                                      successfully read by the Modem Doctor. If
  1663.                                      it is not, then an interrupt did occur
  1664.                                      but the CPU did not respond. Suspect a
  1665.                                      problem with an interrupt controller chip
  1666.                                      or the uart interrupt generating
  1667.                                      capability. If a 16550 or
  1668.                                      16550A(x) chip was detected, the register
  1669.                                      selection uses the enhanced register
  1670.                                      display.             
  1671.                 
  1672.  
  1673.  
  1674.                                        Page 28
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.                      Modem Doctor 6.0  Technical Reference Manual
  1688.  
  1689.  
  1690.  
  1691.        If  a  16550A(x) was  detected,  the  appearance  of the  Interrupt  ID
  1692.        register changes and the following is displayed;
  1693.  
  1694.        -[ Interrupt ID Register ]----------
  1695.        | FEM FEL          ID2 ID1 ID0 ITP  |     
  1696.        ------------------------------------   
  1697.        FEM   FIFO Enable MSB         This is the most significant bit of the
  1698.                                      FIFO register. It should be high on both
  1699.                                      the 16550 and 16550AN if the FIFO
  1700.                                      buffering is enabled. Normal Modem Doctor
  1701.                                      status shows this as a logic low (unless
  1702.                                      testing is performed).  
  1703.  
  1704.        FEL   FIFO Enable LSB         This is the least significant bit of the
  1705.                                      FIFO Register. It should be a high on the
  1706.                                      16550A(x) only! The 16550 always displays
  1707.                                      this bit low. Again, the normal Modem
  1708.                                      Doctor status  will show this as a logic
  1709.                                      low (unless testing is performed).
  1710.  
  1711.        ID2   FIFO Timeout            This signal is raise high by a 16550A(x)
  1712.                                      to indicate that it is holding characters
  1713.                                      for the CPU to read, but it is less than
  1714.                                      what the CPU has requested to be
  1715.                                      interrupted for. The FIFO buffer can be
  1716.                                      as deep as 14 characters. If only 8 have
  1717.                                      come in, the CPU will not be interrupted.
  1718.                                      The 16550A(x) is programmed to interrupt
  1719.                                      after a period of time has gone by during
  1720.                                      which no characters were received in
  1721.                                      order to force the CPU to get what it is
  1722.                                      currently storing. Normal operation
  1723.                                      should keep this line low, if it
  1724.                                      is high at any time there is a problem
  1725.                                      with the uart.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.                                        Page 29
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.                      Modem Doctor 6.0  Technical Reference Manual
  1748.  
  1749.  
  1750.                 
  1751.        -[ Interrupt Enable Register ]------      
  1752.        |                  ESI ELI ETI ERI  |     
  1753.        ------------------------------------      
  1754.                 
  1755.        The Interrupt Enable register is programmed to allow certain types of  
  1756.        interrupts to occur.      
  1757.  
  1758.        ESI    Enable Status          A high causes the uart to generate an
  1759.                                      interrupt whenever RI or RSD signals in
  1760.                                      the Modem Status register go high. Should
  1761.                                      be low for testing.
  1762.  
  1763.        ELI    Enable Line            A high causes the uart to generate an 
  1764.                                      Interrupt whenever an error or break
  1765.                                      interrupt is detected in the Line Status
  1766.                                      Register. Should be low for testing.
  1767.  
  1768.        ETI    Enable Transmitter     A high causes the uart to generate a
  1769.                                      holding register interrupt whenever the
  1770.                                      THE signal of the empty interrupt line
  1771.                                      status register goes high. Should be low
  1772.                                      for testing.        
  1773.                                      
  1774.  
  1775.        ERI    Enable Receive Data    A high causes the uart to generate a
  1776.                                      ready interrupt whenever data is ready to
  1777.                                      be read by the CPU. The DR line of the
  1778.                                      line status register going to a high
  1779.                                      state generates this  condition. This
  1780.                                      signal should be high for testing
  1781.                                      purposes, since it is the only interrupt
  1782.                                      needed by the Modem Doctor.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.                                        Page 30
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.                      Modem Doctor 6.0  Technical Reference Manual
  1808.  
  1809.  
  1810.  
  1811.        -[ Interrupt Mask Register ]--------      
  1812.        |  IQ7 IQ6 IQ5 IQ4 IQ3 IQ2 IQ1 IQ0  |     
  1813.        ------------------------------------      
  1814.        The interrupt mask register is contained on the 8259 priority interrupt
  1815.        controller on your computer's motherboard. Each one of these hardware
  1816.        interrupts corresponds to an external device.      
  1817.  
  1818.        IQ7   Printer Interrupt (can be used by Custom COM5 or COM6)
  1819.        IQ6   Floppy Disk Interrupt     
  1820.        IQ5   Hard Drive interrupt (can be used by Custom COM7 or COM8)
  1821.        IQ4   COM1 Interrupt (also COM3)     
  1822.        IQ3   COM2 Interrupt (also COM4)     
  1823.        IQ2   reserved by IBM (Gateway to second 8259 on AT's)     
  1824.        IQ1   Keyboard Interrupt     
  1825.        IQ0   Timer Interrupt      
  1826.             
  1827.  
  1828.  
  1829.        Under Normal  Conditions, IQ0,IQ1 and IQ6 should be lit, along with IQ4
  1830.        if  testing COM1  (or  COM3)   or IQ3  if  testing COM2  (or COM4).  In
  1831.        addition, other lines could be lit depending on your computer. The only
  1832.        line the  Modem Doctor looks for is the IQ4  or IQ3 lines (depending on
  1833.        which serial port you are testing).   
  1834.  
  1835.        -[ Interrupt Mask Register ]--------      
  1836.        |  I15 I14 I13 I12 I11 I10 IQ9 IQ8  |     
  1837.        ------------------------------------      
  1838.  
  1839.        If you are using an  IRQ line above 7, this alternate  display is shown
  1840.        above.  In normal  use, only IRQ9,  IRQ10, IRQ11, IRQ12,  and IRQ15 are
  1841.        free to be  assigned to other hardware devices. 
  1842.  
  1843.        I15 - free, normally assigned to BIOS
  1844.        I14 - used by hard disk controllers
  1845.        I13 - Redirected NMI interrupt or coprocessor
  1846.        I12 - free, normally assigned to BIOS
  1847.        I11 - free, normally assigned to BIOS
  1848.        I10 - free, normally assigned to BIOS
  1849.        IQ9 - Redirected IRQ 2
  1850.        IQ8 - Real time clock interrupt
  1851.  
  1852.  
  1853.  
  1854.                                        Page 31
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.                      Modem Doctor 6.0  Technical Reference Manual
  1868.  
  1869.  
  1870.        Although the status  of all interrupt lines are  shown, only 9,10,11,12
  1871.        and 15 can be accessed by Modem Doctor.
  1872.  
  1873.  
  1874.        4.30 Handshaking tests
  1875.        ----------------------
  1876.        Just like  a handshake between  friends, the Modem Doctor  tests to see
  1877.        that  your  computer  uart  and  the   modem  are  properly  exchanging
  1878.        handshaking for  data  communication.  There  are 4  tests  for  proper
  1879.        operation.  Two of  them are  static  (meaning that  the control  lines
  1880.        between the computer and modem are raised and lowered), and two of them
  1881.        are  dynamic (meaning that  the modem is placed  in a self-connect mode
  1882.        and data is sent to the modem). 
  1883.        Static test results can  vary modem to modem. Some  modems echo control
  1884.        line   toggles...in other words,  if DTR goes  low, so will  DSR. Other
  1885.        modems do not. So, it would  be considered normal for a modem *not*  to
  1886.        pass this particular  test.  However, if you wish to test  a cable, and
  1887.        at the end you place a  loopback plug, then the static echo test should
  1888.        pass. Otherwise, your cable  is wired incorrectly!
  1889.  
  1890.        The static RTS/CTS tests are conducted the same way, however this
  1891.        handshake pair is important for high-speed modem users. Again, working 
  1892.        through a modem, you will see a failure (unless using the modem for 
  1893.        Synchronous  Communications, something  most users never  do). However,
  1894.        with a  loopback plug, you should see the  static test pass. The static
  1895.        tests above   are designed to  show that your  cabling to the  modem is
  1896.        proper, when verified with a loopback plug. However, these tests cannot
  1897.        verify  if  your  modem    microprocessor will  act  properly  on  this
  1898.        handshaking information. 
  1899.  
  1900.        New in version  6.0, DTR and  RTS pulse tests are  added to aid  you in
  1901.        finding problems with cables or connectors. If DTR is selected, the DTR
  1902.        line is raised and lowered every 2 seconds. If RTS is selected, the RTS
  1903.        line  is  raised  and lowered  every 2  seconds. Using  modem indicator
  1904.        lights or  Modem Doctor's status display  and a loopback cable, you can
  1905.        find out if a cable has the proper wiring for handshaking signals. With
  1906.        some simple test equipment (like a logic probe), you can use  this mode
  1907.        to trace a problem to its source.
  1908.  
  1909.        The dynamic  tests force your  modem to self-connect. Next  the RTS (or
  1910.        DTR)   lines are  dropped (depending  on which  test is  run). Then  20
  1911.        characters are   sent  to the  modem. If  the modem  is properly  using
  1912.        handshaking, no characters will  be sent back to  the computer. If  any
  1913.  
  1914.                                        Page 32
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.                      Modem Doctor 6.0  Technical Reference Manual
  1928.  
  1929.  
  1930.        characters are  received,  then  your    modem  ignored  the  handshake
  1931.        request. In most  cases, if the  static tests   passed but the  dynamic
  1932.        failed, it means your modem needs to be setup for  testing. 
  1933.  
  1934.        The Modem  Doctor offers you  the choice  of programming your  modem to
  1935.        test its ability to  handshake. Using this mode requires that  you have
  1936.        selected the  proper modem  driver from the  Carrier mode  before hand,
  1937.        otherwise incorrect commands will  be sent to  your modem. If you  know
  1938.        you have the right driver, then you can go ahead and see if your  modem
  1939.        is set properly or not.
  1940.  
  1941.        None of the commands sent to the modem are permanently stored in the
  1942.        modem. If the Modem Doctor enables handshaking and it works, but your
  1943.        setup in the modem does not work, then you have to reprogram the modem
  1944.        yourself. You can use the Interactive  terminal mode to do this if  you
  1945.        wish without leaving  the Modem Doctor. Also, in order  for these tests
  1946.        to  be  valid you  must  be using  a  modem that  supports  RTS/CTS and
  1947.        XON/XOFF handshaking  modes of operation.
  1948.  
  1949.        4.30A S-Register Displays
  1950.        -------------------------
  1951.        The most important  S-registers are the first 16.  These determine many
  1952.        of  the  abilities   and  options  that  your  modem   can  use  during
  1953.        communication  sessions. However,  today's high-speed modems  have many
  1954.        more registers, in fact  some  have up  to 200! After the first  16, no
  1955.        one  really follows  any sort  of  "plan", each  modem manufacturer  is
  1956.        pretty free to do what they  wish. From a  diagnostic standpoint,  this
  1957.        is a  nightmare scenario. Even  with the same   manufacturer, different
  1958.        ROM  versions change  how these  registers are  used.  The "compromise"
  1959.        position is allow for the viewing of S-registers  in groups  of 10. You
  1960.        pick the starting register, and the next 10 are displayed. Values  of 0
  1961.        (appearing slowly) usually indicate that the selected register doesn't 
  1962.        exist. As  with all  Modem Doctor  routines, you  cannot change  any of
  1963.        these S- register settings, unless you go into the Interactive Mode and
  1964.        use the AT  commands that allow you to change register settings. 
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.                                        Page 33
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.                      Modem Doctor 6.0  Technical Reference Manual
  1988.  
  1989.  
  1990.        4.31 Carrier Tests     
  1991.        -----------------  
  1992.          ╔[  Modem Tests  ]═══════╗
  1993.          ║ Carrier Self-tests     ║  <- Simulate on-line tests
  1994.          ║ Burst Mode Self-Test   ║  <- New, Sends data in Bursts
  1995.          ║ Burst Signature Test   ║  <- New, Sends a modulation test pattern
  1996.          ║ Burst Alt Data Test    ║  <- New, Sends an alternating pattern
  1997.          ║ Select modem drivers   ║  <- Pick a modem driver
  1998.          ║ Help with carrier test ║  <- Help
  1999.          ║  Return to main menu   ║
  2000.          ╚════════════════════════╝
  2001.  
  2002.        The carrier test section is used to test your modem's ability to detect
  2003.        a  carrier, demodulate  signals on the  originate frequency  and answer
  2004.        frequency, and to  properly control the RLS (Received  Line Signal) and
  2005.        CD  (carrier  detect) modem  status/control  lines.  All of  these  are
  2006.        essential  elements  for  good data  communication.    When you  select
  2007.        carrier tests, a pulldown menu is displayed. Option 1,2,3 and 4 prompts
  2008.        you to run different carrier tests (see types of carrier tests later in
  2009.        this section). Option 5  offers you the chance to select a custom modem
  2010.        driver. Option  7 allows   you  to return  to the  main menu  (pressing
  2011.        ESCAPE or a  left/right arrow  key  also does the same  thing as option
  2012.        7).  
  2013.                 
  2014.        4.31 Modem Driver Modules    
  2015.        --------------------------  
  2016.        Although your AT instruction set modem is based on a defacto standard
  2017.        developed by Hayes,  there are several "supersets" of  this instruction
  2018.        set  for  various modems.  Currently,  the    Modem Doctor  supports  9
  2019.        different software Modem  Drivers for testing; Generic  Compatible, &T0
  2020.        (CCITT V.54  test sequence)  instruction set,  Hayes 9600,14400,  Hayes
  2021.        28800 bps,  Courier   HST/V.32, Sportster 14440,  USR 28800  bps, ZyXEL
  2022.        1496 E and E+,  Practical Peripherals, Intel, and Sierra  Semiconductor
  2023.        modems.  If your modem  is not included,  you can easily  pick a driver
  2024.        that will work for you following these simple guidelines;
  2025.  
  2026.          a) If it is a high speed modem (over 2400 bps), select Hayes 9600.
  2027.          b) If it is a 2400 bps modem, select &T0 instruction set.
  2028.          c) If these do not work, use Generic driver.
  2029.  
  2030.        When the Modem Doctor is running the setup mode, it queries the 
  2031.        microprocessor  for its type identification. Based on this information,
  2032.        a  modem driver is selected for use.  Basically, all 2400 bps and lower
  2033.  
  2034.                                        Page 34
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.                      Modem Doctor 6.0  Technical Reference Manual
  2048.  
  2049.  
  2050.        modems   are assigned  the Generic Driver,  and all  supported 9600 and
  2051.        higher modems  are assigned their  proper ID, based on  the information
  2052.        your modem  returns  via its  ROM code.  If Modem  Doctor  knows its  a
  2053.        high-speed  modem but can't  determine the  type, the  Courier HST/V.32
  2054.        driver is assigned  by default. The &T0 instruction  set modems, (those
  2055.        that  use  the CCITT  V.54 test  sequence), are  tested in  a different
  2056.        manner with a  different set of instructions. Previous  versions of the
  2057.        Modem Doctor would automatically switch to the &T0  instruction set  if
  2058.        the modem was a 2400 bps  modem and if it failed to   properly detect a
  2059.        carrier during  testing. This  function is still  built into  the Modem
  2060.        Doctor, but  you can optionally  select the &T0 driver  yourself before
  2061.        beginning  your testing  in order  to speed  things up.  Auto-selection
  2062.        added about  10 seconds  a pass  that can now  be eliminated.   If  you
  2063.        desire to  select the &T0  set for your modem  instead of letting   the
  2064.        Modem Doctor do it for you. 
  2065.  
  2066.        NOTE: Don't select this  instruction set unless you know for  sure that
  2067.        your modem  is 100% instruction  set compatible with the  Hayes 2400 or
  2068.        2400B. Hayes  1200 bps  and lower, and  almost all  other 2400  bps and
  2069.        lower modems use  the Generic  Driver. You  will find that  99% of  all
  2070.        modems  will  work properly  with this    assignment, in  fact,  if you
  2071.        disable all data  compression and Fixed link assignments  from any high
  2072.        speed modem (including  28800+'s), the generic  driver will test  these
  2073.        modems properly  also! This allows  people with high-speed  modems that
  2074.        are not supported currently to use the Modem Doctor for testing. If you
  2075.        have  a  high-speed  modem  that is  not  supported,  you  can   use  a
  2076.        Combination of  the Manual mode  and the  Generic Modem Driver  to test
  2077.        these modems also.  
  2078.  
  2079.        All of the modem drivers used by the Modem Doctor are built into the
  2080.        program, however version 6.0, like earlier versions, has the ability 
  2081.        to recognize an external driver file. If the Modem Doctor finds and 
  2082.        external driver file when it starts, it uses those command instead of 
  2083.        the  built-in  drivers. The  format  for  drivers has  changed  between
  2084.        version 4.0x, 5.0, 6.0  and any future drivers will be  released in all
  2085.        formats  for users of all versions of Modem Doctor.
  2086.  
  2087.        What purpose is  there in external drivers?  Well, first off, if  a new
  2088.        modem  command set is  adopted, or  a bug is  discovered in  one of the
  2089.        built-in modems, you  will be able to  receive a free driver  file from
  2090.        any bbs or by mail. This  means that your copy of the Modem  Doctor can
  2091.        stay current  for some  time to  come. The second  reason for  external
  2092.        drivers is to  allow you,  if you desire,  to have us  custom design  a
  2093.  
  2094.                                        Page 35
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.                      Modem Doctor 6.0  Technical Reference Manual
  2108.  
  2109.  
  2110.        modem driver for a particular modem. These drivers would be designed at
  2111.        a  modest charge and would be for your  use only. In any case, external
  2112.        drivers insure your investment in the Modem Doctor.
  2113.  
  2114.        4.32 Types of Carrier Tests  
  2115.        -----------------------------     
  2116.        The carrier tests are designed to test your modem under actual use
  2117.        conditions (minus a telephone line). Your modem uses two different
  2118.        frequency bands for communication. These are the originate and answer
  2119.        frequencies. AT Compatible modems can select these under command of the
  2120.        Modem Doctor via the appropriate Modem Driver module. So called "Dumb"
  2121.        Modems have front-panel switches that you must use to properly test the
  2122.        modem. The Modem Doctor supports both types of tests, one of which is
  2123.        automatically selected by the Modem Doctor depending on the hardware it
  2124.        detects.  
  2125.                 
  2126.        4.33 AT Instruction Set Tests 
  2127.        -----------------------------     
  2128.        If you selected  the Test Modem/Uart option  from the setup menu  and a
  2129.        Modem with  a compatible  microprocessor was detected,  or if  you have
  2130.        forced the  Modem Doctor to  use the AT  instruction set tests  via the
  2131.        hot-key  ALT-F, the  Modem Doctor  will test  the originate  and answer
  2132.        frequencies of your modem automatically. Before running this test, make
  2133.        sure you have  disconnected the modem from the  telephone line, because
  2134.        the modem will go  off-hook and sometimes the  dial-tone will interfere
  2135.        with  testing. If you press ESCAPE in this menu, you return to the main
  2136.        menu. Any other  key continues. You will  be prompted to enter  a "Loop
  2137.        Count".  If you  select a  count of  1, you  will be  able to  hear the
  2138.        connecting tones on your speaker. If you select a count greater than 1,
  2139.        then the speaker is turned off.  
  2140.  
  2141.        After you make your  selection, two windows will  open on your  screen.
  2142.        One contains data that is being sent to the modem,  the other data that
  2143.        has been  received by the modem. All of the characters from binary 0 to
  2144.        binary 255  are transmitted.  Some of these  will look  strange because
  2145.        they are  characters of  the extended character  set. The  Modem Doctor
  2146.        takes a  great deal of care in preserving  the normal condition of your
  2147.        modem before testing, and sends  all the character strings necessary to
  2148.        test without disturbing  any non-volatile memory settings.  If you have
  2149.        an external  modem, you will  see the data being  sent and acknowledged
  2150.        before testing begins. 
  2151.  
  2152.  
  2153.  
  2154.                                        Page 36
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.                      Modem Doctor 6.0  Technical Reference Manual
  2168.  
  2169.  
  2170.        While it is setting up, the Modem Doctor tells you what is going
  2171.        on, including that  the modem is  reset, that commands are  being sent,
  2172.        and  that it is waiting for a carrier.  The Modem Doctor waits up to 15
  2173.        seconds for either the word CONNECT or the  RLS signal to go active. If
  2174.        this does not happen, the Modem Doctor  switches to the &T0 command set
  2175.        that is  used by Hayes  2400's and several  other clones. This  test is
  2176.        just as  valid as a  full carrier test  for these types of  modems, and
  2177.        verifies  both  the  modem  and  the  uart  signal  paths  as  does the
  2178.        traditional  carrier test.  If you  switch to  this  mode, you  will be
  2179.        informed  via  the  screen and  the  message  "CCITT  V.54  "  will  be
  2180.        displayed.  Also, if  you have  an external  modem, you  might see  the
  2181.        "modem ready" light flashing throughout  this test. If you selected the
  2182.        &T0 instruction set yourself from the Modem Driver selection menu, then
  2183.        the  &T0 set  will  be used  exclusively.  This selection  is  mainly a
  2184.        convenience for some users  (because the auto-detection method takes  a
  2185.        little  longer), however  it  will not  test any  other  kind of  modem
  2186.        properly. If you  are unsure, let  the Modem Doctor  figure it out  for
  2187.        you. Note, if you select more  than 1 iteneration and change you  mind,
  2188.        press ESCAPE anytime during the test. At the next available loop-repeat
  2189.        time the  Modem Doctor  will abort  testing and give  you your  current
  2190.        status.  
  2191.  
  2192.        4.34 Uart or Dumb Modem Tests 
  2193.        ----------------------------- 
  2194.        This test works the same as the AT instruction set modem test with two
  2195.        main exceptions. First, Your modem must  be able to generate a  carrier
  2196.        on  its own  on the  answer  and originate  frequencies. Most  external
  2197.        "dumb"  modems  have front panel switches  for this function. Most  are
  2198.        marked as  AL (for Analog  Loopback). If your modem  can generate this,
  2199.        answer yes    and follow  the prompts  on the  screen.  All testing  is
  2200.        performed  as above,  except you setup  the modem instead  of the Modem
  2201.        Doctor  using its modem driver software.   Whenever the Modem Doctor is
  2202.        working with the  micro in the "Off-line" mode, the dumb mode tests are
  2203.        used. You are prompted if your modem can generate a carrier. Answer yes
  2204.        to start  the testing.  You are then  told to place  your modem  in the
  2205.        analog loop mode and force the carrier detect on. Most dumb modems will
  2206.        light the CD light  on the front panel of the modem  when you press the
  2207.        AL switch. This  CD light sends  a RLS (Received   Line Signal)  status
  2208.        word  to the uart. The Modem Doctor looks for this before it will allow
  2209.        testing in  this dumb mode.  If your  modem cannot  generate a  carrier
  2210.        indication, you  can still test  an analog loopback using  the loopback
  2211.        function in the registered version and select the analog loopback tests
  2212.        (this is explained later in the documentation).  
  2213.  
  2214.                                        Page 37
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.                      Modem Doctor 6.0  Technical Reference Manual
  2228.  
  2229.  
  2230.                 
  2231.        4.35 Error Messages 
  2232.        -------------------     
  2233.        If A RLS (Received Line Detect) signal is not received before testing
  2234.        begins, this indicates that either a carrier is not being generated (or
  2235.        properly received in self test) by the modem, or an RS-232 Cable to an
  2236.        external modem  is improperly  wired. Although  RS-232 loops  will work
  2237.        fine without an RLS signal  being wired, there is no way for  the Modem
  2238.        Doctor to detect on a  dumb modem if a carrier  was generated. On a  AT
  2239.        instruction set modem, the Modem  Doctor alternately looks for the word
  2240.        "CONNECT"  to  be  sent  from the  modem  if  there  is  no RLS  signal
  2241.        available. If you wish your all of your communications programs to work
  2242.        properly, you should get a cable with this signal wired. If an error is
  2243.        detected during  the analog  test,  the error  counter is  incremented.
  2244.        There are two error counters; one  is used for the originate mode,  and
  2245.        the other for the answer mode. If you receive an error, it could be due
  2246.        to a problem with a uart or a modem at a certain baud rate. Try testing
  2247.        at other  baud rates to  determine if  the errors  repeat. Also  errors
  2248.        could occur on only the originate or the answer frequency. This is more
  2249.        prevalent at higher baud rates.  Finally, make sure that the  modem was
  2250.        disconnected   from  the  phone  line  before  testing.  The  dial-tone
  2251.        interferes with some modems. One other possibility exists, that
  2252.        there could be a problem with a cable or interrupts not properly being
  2253.        generated or  properly handled  by the  CPU.  Run the  digital/loopback
  2254.        tests  and  if  the problem  repeats,  you  might have  a  bad  uart or
  2255.        motherboard problem. Although it is  unlikely, if power is removed from
  2256.        the modem  or a  cable falls off  (or who knows  what else),  the Modem
  2257.        Doctor waits a pre-determined period of time for an interrupt to occur.
  2258.        If  none is  detected,  the  warning "Modem  Queue  Failure" or  "Modem
  2259.        Receiver Failure"  will be displayed in one of the windows. These might
  2260.        also be  displayed if  the modem never  acknowledged a  character being
  2261.        transmitted, or  never sent one  back. Again, the only  conditions that
  2262.        would cause this would be a  cable being removed between the modem  and
  2263.        the uart,  the power being removed to the  modem, or the modem "blowing
  2264.        up" via some unnatural means during the test. If the RLS (Received Line
  2265.        Signal) is constantly active from the modem, the Modem Doctor will tell
  2266.        you that you might have  a problem with a cable  or the modem and  that
  2267.        the test results might not be valid. Reason for  this is that the Modem
  2268.        Doctor never did  detect a carrier because the uart said it was already
  2269.        there. This can be traced in nearly  all cases to the modem. Change the
  2270.        setting  of the modem to let the carrier   Detect (CD) act normally. It
  2271.        should never be set to be forced on for a PC. If so, not only the Modem
  2272.        Doctor, but other communications programs will  not operate properly. 
  2273.  
  2274.                                        Page 38
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.                      Modem Doctor 6.0  Technical Reference Manual
  2288.  
  2289.  
  2290.        4.36 IRQ Failures
  2291.        -----------------
  2292.        The Modem Doctor will allow you to test a modem that might not have a
  2293.        proper IRQ  assignment. Such errors  in jumper settings on  your serial
  2294.        cards or internal  modems are  tough to  trace. If you  see this  error
  2295.        message  displayed,  it  means that  your  modem  is  receiving signals
  2296.        properly, but  it cannot communicate  back to the computer  over normal
  2297.        interrupt assignments. This  normally results  from using  an IRQ  line
  2298.        reserved for  one comm port with  another. See the  section above about
  2299.        IRQ's if you get this error, and use  the table above as a guide to how
  2300.        to correct  your problem. IRQ failures  will be displayed in  the setup
  2301.        mode, the  Regs Quick Uart  Diagnostics mode, the Analog  Loopback mode
  2302.        and the Carrier Tests mode.
  2303.  
  2304.        4.38 Burst Mode Tests
  2305.        ----------------------
  2306.        Burst Mode tests  have been added to  Modem Doctor. Unlike the  carrier
  2307.        self tests  (which transmit  1 character  at a  time and  wait for  the
  2308.        character to be received), the Burst Mode tests send all characters  at
  2309.        once, and  then clock  how long  it takes  for these  characters to  be
  2310.        received. There are 3 different Burst Mode Tests.
  2311.  
  2312.          1) Burst Mode Self-Test - All 255 characters are sent in a burst. 
  2313.          2) Burst Signature test - designed to detect shift register and
  2314.                                    modulation problems.
  2315.          3) Burst Alt Data test  - another test pattern used for similar
  2316.                                    purposes as test #1.
  2317.  
  2318.        Modem Doctor clocks how long it takes to receive them all. This 
  2319.        information is displayed in a bar between windows like this;
  2320.  
  2321.        --------------------------------------------------------------------
  2322.        16550A TR14 TX Time = 1.21sec  210 cps RX Time = 1.00sec   255 cps
  2323.        --------------------------------------------------------------------
  2324.  
  2325.        Between  the windows  (sent  to and  received from  modem),Modem Doctor
  2326.        calculated  the send  and return  time  and approximate  characters per
  2327.        second. Also,  since this particular test was run  on a computer with a
  2328.        16550AFN uart,   Modem  Doctor also displays  the buffer  trigger level
  2329.        (14). A  16550AFN uart   will usually return  characters faster  than a
  2330.        regular uart. Transmit times   however depend  on the type of  computer
  2331.        more than the type of uart.  Faster machines can send data faster.
  2332.  
  2333.  
  2334.                                        Page 39
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.                      Modem Doctor 6.0  Technical Reference Manual
  2348.  
  2349.  
  2350.  
  2351.        After the test runs, you will see this window;
  2352.  
  2353.                   ╒[  Burst Test ]══════════════════════════════════════════╕
  2354.                   │ The results of the burst mode data tests shows that     │
  2355.                   │ approximately 465 characters per second can be safely   │
  2356.                   │ moved between modem and uart without handshaking        │
  2357.                   │                                                         │
  2358.                   │ You do not need any handshaking at this DTE speed       │
  2359.                   │               Press Any Key to Continue                 │
  2360.                   │                                                         │
  2361.                   └─────────────────────────────────────────────────────────┘
  2362.  
  2363.        This  value is  calculated by  adding  the receive  and transmit  times
  2364.        together. If  Modem Doctor  calculates the round  trip time to  be more
  2365.        than it should  be at the chosen  baud rate, you will see  this message
  2366.        instead;
  2367.  
  2368.                   ╒[  Burst Test ]══════════════════════════════════════════╕
  2369.                   │ The results of the burst mode data tests shows that     │
  2370.                   │ approximately  210 characters per second can be safely  │
  2371.                   │ moved between modem and uart without handshaking        │
  2372.                   │                                                         │
  2373.                   │ You will need some sort of handshaking at this speed    │
  2374.                   │               Press Any Key to Continue                 │
  2375.                   │                                                         │
  2376.                   └─────────────────────────────────────────────────────────┘
  2377.  
  2378.        At  2400 bps,  240  characters  are transmitted  each  second. If  your
  2379.        computer can only  handle 210 cps total, then  your computer could drop
  2380.        characters.  Therefore hardware handshaking is needed. Now, no computer
  2381.        made will have this problem until you exceed baud rates of 4800 bps. At
  2382.        9600  bps, 960  characters  need to  be received  per  second. If  your
  2383.        computer can only  handle 930, you will need  handshaking. At 19200bps,
  2384.        you need to  be able  to handle  1920 cps. Most  computers under  50mhz
  2385.        cannot do this without handshaking.
  2386.  
  2387.        The Burst Signature Mode tests are  useful in detecting Modem or serial
  2388.        link modulation/demodulation problems. As with the previous Burst test,
  2389.        Modem  Doctor  calculates  the  tx  and rx  times.  However,  only  one
  2390.        character  is sent, an A5 hex or  .  This character in binary is broken
  2391.        into  two halves;    1010  (A)  and  0101  (5).  Since  modulation  and
  2392.        demodulation  in modems   depends  on correctly  phasing changing  data
  2393.  
  2394.                                        Page 40
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.                      Modem Doctor 6.0  Technical Reference Manual
  2408.  
  2409.  
  2410.        packets,  this  A5 character    swings  the  modem between  worst  case
  2411.        repeating bit states.  If you find   errors here, you may  have located
  2412.        the source of your "line noise" problems.
  2413.  
  2414.        Burst  Alt Signature  Test -  Another  useful test  in determining  the
  2415.        condition of  the modulator/demodulator in  a modem. In this  case, two
  2416.        characters are alternated; the   or A5  hex and the letter Z or 5A hex.
  2417.        The modem sees these data bits  1010 (A) 0101(5) 0101 (5) 1010 (A).
  2418.  
  2419.        Additionally, Modem  Doctor  stresses the  first  few data  packets  by
  2420.        sending the sequence  5A A5 5A A5 5A  A5 A5 5A 5A A5 A5  5A A5 5A. Many
  2421.        times,   initial packets  of data  are garbled  (beginning of  a line).
  2422.        Again, if  you    have a  failure,  this  may  be the  source  of  your
  2423.        intermittent line noise.
  2424.  
  2425.        The analog burst tests in the registered version work in the identical
  2426.        manner, except no modulation from a modem is used. This enables you to
  2427.        test the shift registers and serial/parallel decoder features of your
  2428.        serial port.
  2429.  
  2430.        4.4 Loopback Tests     
  2431.        -------------------      
  2432.        The loopback tests were designed for two purposes. First, to test an
  2433.        RS-232  loop  including  cables that  are  properly  terminated  with a
  2434.        loopback plug,  and second, to run a digital  loopback test on 8250 and
  2435.        100% compatible uarts.  Additionally, the analog  portion of this  test
  2436.        can be used to test a  dumb modem that does not generate a  CD (carrier
  2437.        detect)  signal  when the  AL  switch  is thrown  on  the  front panel.
  2438.        Selecting loopback and pressing return fetches this menu;      
  2439.  
  2440.  
  2441.        ╔[  Loopback Tests  ]═══════════╗
  2442.        ║ Analog Loopback using a PLUG  ║ +<- test Uart & Cables
  2443.        ║ Digital Loopback 8250 UARTS   ║ +<- Uart test only
  2444.        ║ Burst Mode Self-Test          ║ +<- New, Sends data in a burst
  2445.        ║ Burst Signature Test          ║ +<- New, Sends Burst signature data
  2446.        ║ Burst Alt Data Test           ║ +<- New, Sends alternate burst data
  2447.        ║ Loopback Plug Technical Data  ║ +<- How to build a
  2448.        ║ Help with Loopback Tests      ║     loopback plug
  2449.        ║     Return To Main Menu       ║
  2450.        ╚═══════════════════════════════╝
  2451.                                          +registered version only
  2452.  
  2453.  
  2454.                                        Page 41
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.                      Modem Doctor 6.0  Technical Reference Manual
  2468.  
  2469.  
  2470.        Analog loopback tests require that you attach a Loopback plug either to
  2471.        the back of the Comm port connector on your computer, or at the end  of
  2472.        a  RS-232 Cable. This test is designed for external modems, however you
  2473.        could run this on an internal modem as  a test of the command channel's
  2474.        ability     to receive characters.  Caution should be used  on internal
  2475.        modems,  for  some will  fail  this  test. If  this  happens,  don't be
  2476.        concerned. However  this test should  NEVER fail with a  loopback plug,
  2477.        unless  you  were trying  to  drive  the  line at  an  excessive  rate.
  2478.        Remember, the  faster the data rate,  the shorter the  lines should be,
  2479.        and  the faster the  computer should be  to handle it.  With a loopback
  2480.        plug on  the back of the  serial port, speeds  of 56000 bps  should run
  2481.        fine even  on a slower PC (as long as it is not multi- tasking). If you
  2482.        experience  problems  at 56000  but  not at  19200,   chances  are your
  2483.        hardware is  fine (if you  are using an  8250-B). In extensive  testing
  2484.        with PC's at 4.77 mhz, the original 8250-B performed flawlessly at
  2485.        56000 bps.  Dumb modems can use this test  also (as explained above and
  2486.        in the section carrier tests).  Digital loopback tests require that you
  2487.        have    an  8250-B,  8250A,16450,  16550,    16550A(x)  or  other  100%
  2488.        compatible uart in your system. These uart's have built-in diagnostics.
  2489.        If you are  using a  PC compatible  internal modem or  a PC  compatible
  2490.        serial card, then you will definitely have a compatible uart installed.
  2491.  
  2492.        There is  a design difference  between the 8250-B and  other compatible
  2493.        chips in this series. Some of the differences were explained above, but
  2494.        the important difference for the loopback test is the way the different
  2495.        uarts will  respond.   The 8250-B  allowed its  OUT2  signal to  become
  2496.        active  during  loopback  testing.  The  OUT2  signal  is  used  by  PC
  2497.        compatible  machines to  gate the  interrupt signal  off of  the serial
  2498.        board  (or internal modem). Later designs (8250A, 16450, 16550,16550AN)
  2499.        tri-stated this line.  As a result, the self-test  diagnostics will not
  2500.        allow the interrupt signal to gate off the board and interrupt the CPU.
  2501.        This would cause all  digital loopback tests on these improved chips to
  2502.        fail. The Modem Doctor handles this by a brute-force read of the uarts.
  2503.        By sampling the Interrupt ID register, the presence  of an interrupt is
  2504.        detected, then the receiver buffer register is read. This method is not
  2505.        as  efficient as  a  true interrupt-driven  test  would be,  but  it is
  2506.        accurate. The Uart does generate the ID for an interrupt, the character
  2507.        is pulled out of the  uart. In version 4.0,  the speed of this  routine
  2508.        was significantly  enhanced so that  it runs approximately at  the same
  2509.        speed as a true interrupt driven 8250-B.
  2510.  
  2511.  
  2512.  
  2513.  
  2514.                                        Page 42
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.                      Modem Doctor 6.0  Technical Reference Manual
  2528.  
  2529.  
  2530.  
  2531.        When running this test on an 8250-B, you will see the true speed of the
  2532.        interrupt handling and processing. On others, you  will see the
  2533.        brute-force method.  Each is an accurate test of  the uart and valid at
  2534.        any baud rate  selected. If this test does not run,  but yet the analog
  2535.        test and all other  tests  run fine,  it means that  you do not have  a
  2536.        compatible uart   installed.   Some uarts  that are  not 8250's  have a
  2537.        problem entering this  mode properly.  If  the test does not  start, do
  2538.        not be alarmed,  because  only 8250 and true compatibles will pass this
  2539.        test. However this  test will NEVER start  and then fail unless  you do
  2540.        have a  hardware problem. You  should never  pick up a  character error
  2541.        using this test. If  you do, you  have a bad uart  or  CPU  motherboard
  2542.        problem. Both tests open up windows (like the analog test) and send and
  2543.        receive characters  to the  uart. If you  wish to know  how to  build a
  2544.        loopback  plug,  select  the  Loopback  Plug  technical  data  section.
  2545.        Pressing ESCAPE or  the left/right arrows is  the same as Option  4 and
  2546.        returns you to the main menu.  
  2547.              
  2548.        4.41 Loopback Test Error messages         
  2549.        ---------------------------------           
  2550.        Essentially  the error  messages for  these  tests are  simple. In  the
  2551.        loopback test mode,  if a character is received  incorrectly, the error
  2552.        counter is advanced and a report is issued at the end. If the analog or
  2553.        digital tests fail to receive or transmit characters, the messages will
  2554.        explain that  either the transmit  queue, the receive queue  failed, or
  2555.        that the uart  did not respond  to the tests.  The last message  may be
  2556.        displayed if you have a non-compatible uart. If the uart fails to setup
  2557.        properly for the digital loopback  test (does not program its registers
  2558.        properly), a warning is      displayed that there is an error in one of
  2559.        the  registers. The  message will  explain  what is  wrong and  what it
  2560.        expects.  Also, if you are using the wrong IRQ line for your comm port,
  2561.        you will receive an  IRQ failure error. See the warning message section
  2562.        for more details.                    
  2563.  
  2564.        4.42 Burst Mode Tests
  2565.        ----------------------
  2566.        Like the  Carrier mode,  Burst Mode  tests have  been  included in  the
  2567.        Loopback   tests.  Unlike  the regular  analog  loopback  tests  (which
  2568.        transmit  1 character  at  a time  and  wait for  the  character to  be
  2569.        received), the Burst Mode tests  send all characters at once,  and then
  2570.        clock how long  it takes for these   characters to be  received. Please
  2571.        refer section 4.38  for a description of these tests. Used with a Uart,
  2572.        these burst  mode diagnostics are used to test  serial ports and do not
  2573.  
  2574.                                        Page 43
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.                      Modem Doctor 6.0  Technical Reference Manual
  2588.  
  2589.  
  2590.        use any modem  modulation techniques. However, burst tests  will detect
  2591.        bad buffer chips or serializes in a uart just as it detected modulation
  2592.        problems in  a modem.  As with  the  carrier mode  tests, Modem  Doctor
  2593.        calculates the system throughput and displays it in this manner;
  2594.  
  2595.        --------------------------------------------------------------------
  2596.         16550A TR14 TX Time = 1.21sec   210 cps RX Time = 1.00sec   255 cps
  2597.        --------------------------------------------------------------------
  2598.        Between  the windows  (sent  to and  received from  modem),Modem Doctor
  2599.        calculated  the send  and return  time  and approximate  characters per
  2600.        second. Also, since this  particular test was run on a  computer with a
  2601.        16550AFN  uart, Modem  Doctor also  displays the  buffer trigger  level
  2602.        (14). A 16550AFN  uart  will  usually return characters  faster than  a
  2603.        regular  uart. Transmit times   however depend on  the type of computer
  2604.        more  than the  type of uart.   Faster  machines can send  data faster.
  2605.        After the test runs, you will see this window;
  2606.  
  2607.                   ╒[  Burst Test ]══════════════════════════════════════════╕
  2608.                   │ The results of the burst mode data tests shows that     │
  2609.                   │ approximately 465 characters per second can be safely   │
  2610.                   │ moved between modem and uart without handshaking        │
  2611.                   │                                                         │
  2612.                   │ You do not need any handshaking at this DTE speed       │
  2613.                   │               Press Any Key to Continue                 │
  2614.                   │                                                         │
  2615.                   └─────────────────────────────────────────────────────────┘
  2616.  
  2617.        This  value is  calculated by  adding  the receive  and transmit  times
  2618.        together. If  Modem Doctor calculates  the round trip  time to  be more
  2619.        than it should be  at the chosen baud  rate, you will see  this message
  2620.        instead;
  2621.  
  2622.                   ╒[  Burst Test ]══════════════════════════════════════════╕
  2623.                   │ The results of the burst mode data tests shows that     │
  2624.                   │ approximately  210 characters per second can be safely  │
  2625.                   │ moved between modem and uart without handshaking        │
  2626.                   │                                                         │
  2627.                   │ You will need some sort of handshaking at this speed    │
  2628.                   │               Press Any Key to Continue                 │
  2629.                   │                                                         │
  2630.                   └─────────────────────────────────────────────────────────┘
  2631.  
  2632.  
  2633.  
  2634.                                        Page 44
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.                      Modem Doctor 6.0  Technical Reference Manual
  2648.  
  2649.  
  2650.  
  2651.        4.5 Options Mode
  2652.        ---------------------              
  2653.  
  2654.          ╔[  User Options Selection  ]╗
  2655.          ║ Interactive Terminal Mode  ║  <- A Built-in mini-terminal 
  2656.          ║ View FAX Mode Settings     ║  <- New, List Current Fax settings
  2657.          ║ View Current Statistics    ║  <- Status of all tests
  2658.          ║ Reset Current Statistics   ║  <- Reset all tests to 0 
  2659.          ║ Print Current Statistics   ║  <- Send results to printer
  2660.          ║ Help with these options    ║
  2661.          ║    Return to main menu     ║
  2662.          ╚════════════════════════════╝
  2663.  
  2664.        The options mode allows you access to the built-in 16k communications
  2665.        terminal (Interactive Mode), and the report generator features. 
  2666.  
  2667.        4.51 Interactive Mode
  2668.        ----------------------
  2669.        As well  written as the Modem  Doctor is, there  exists the possibility
  2670.        that a modem  or a system might not be compatible with the diagnostics.
  2671.        The manual  section allows you to send your  own string commands to the
  2672.        modem,  read  back  data,  and  in  fact   you  could  use  this  as  a
  2673.        mini-communications program.   If you select this mode,  a window opens
  2674.        with  the  banner  Interactive  Mode.  At the  Bottom  are  listed  the
  2675.        "Hot-Keys" you can use;
  2676.  
  2677.              ALT-B   This opens a window for you to change the baud rate.     
  2678.                  Note: if you are on-line with a service this might cause an  
  2679.                  error between the computer and the modem. Off-line conditions
  2680.                  should work properly. 
  2681.                 
  2682.              ALT-C   Clears the screen. This only clears the window of data,
  2683.                  and leaves all your prompts.   
  2684.  
  2685.              ALT-N   Add Nulls, this is new with Modem Doctor 5.0, and can be
  2686.                  used to determine if your display adapter is causing
  2687.                  "Interrupt Latency".
  2688.                 
  2689.              ALT-R   This displays the Uart registers...handy for real-time   
  2690.                  troubleshooting of RS-232 loops.      
  2691.            
  2692.  
  2693.  
  2694.                                        Page 45
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.                      Modem Doctor 6.0  Technical Reference Manual
  2708.  
  2709.  
  2710.             
  2711.              ALT-H   Help..this displays the basic AT Command set instructions
  2712.                  that  you could use to control your modem. Note that this is
  2713.                  only a basic set. Some modems have many extensions to this,
  2714.                  so for advanced work, consult your owners manual.      
  2715.                 
  2716.              ALT-X   Exits the interactive mode and returns to the main menu. 
  2717.          
  2718.  
  2719.        4.51A Testing for Interrupt Latency
  2720.        -----------------------------------
  2721.        Interrupt Latency is caused by  a hardware device (usually a hard  disk
  2722.        or a   video display adapter) taking longer  to process a function that
  2723.        the time it   takes to receive  a character over your  modem. Normally,
  2724.        interrupt latency is  not a  problem until you use DTE/DCE speeds  over
  2725.        19200bps. With today's high- speed  modems, its not uncommon for people
  2726.        to be running speeds of 38400 or   57600bps between computer and modem.
  2727.        Older display adapter, most notably  early EGA's  with "Auto-detection"
  2728.        circuitry, cause  interrupt  latency. The    symptoms will  range  from
  2729.        loosing characters occasionally  to excessive errors   when downloading
  2730.        files. 
  2731.  
  2732.        There is  no  real test  for  interrupt latency,  because such  a  wide
  2733.        variety of  situations  can cause it. The  only "cure" is to acquire  a
  2734.        faster display  adapter or  a 16550AFN uart. Now,  there is a way  that
  2735.        you can use Modem Doctor to verify such an error is happening, and that
  2736.        is by using ALT-N. When you add  nulls, you are telling Modem Doctor to
  2737.        wait a bit longer inside of a routine that talks to your video adapter,
  2738.        looking  for more  interrupts before  exiting the  display  routine. If
  2739.        adding nulls improves the error  rate that you see characters displayed
  2740.        (while on-line via the Interactive mode to a BBS), then you know you do
  2741.        indeed  have an  interrupt latency problem.  There are  two "short-cut"
  2742.        keys associated with  ALT-N, and they are ALT+ and  ALT-. ALT-N prompts
  2743.        you for a number, while ALT+ adds 1 to that number, and ALT-  subtracts
  2744.        1 from that number.
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.                                        Page 46
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.                      Modem Doctor 6.0  Technical Reference Manual
  2768.  
  2769.  
  2770.  
  2771.        4.51B View Fax Mode Settings
  2772.        ----------------------------
  2773.  
  2774.        If you have a fax modem, Modem Doctor will give you more detailed  info
  2775.        on its features than the setup menu initially displayed.
  2776.  
  2777.        ╒[ Fax Modem Information]═══════════════════════════════════════╕
  2778.        │ Current Fax Class       : 0                                   │
  2779.        │ Permissible Fax Classes : 0,2,8                               │ 
  2780.        │ DCE Model Information   : U1496E  V 6.01 M                    │
  2781.        │ DCE Manufacturer        : ZyXEL                               │
  2782.        │ DCE Revision Number     : U1496E  V 6.01 M                    │
  2783.        │ Auto Answer Mode        : DCE answers/auto-determines         │
  2784.        │                     Press Any Key To Continue                 │
  2785.        └───────────────────────────────────────────────────────────────┘
  2786.  
  2787.        If your modem  is a Class 1, none of this  information can be displayed
  2788.        since the modem lacks the ability to accept T.30 commands. However,  if
  2789.        you  do have a Class 2 or higher  modem (as most are), you will see the
  2790.        display above. This information, especially Permissible class faxes and
  2791.        Auto Answer mode are important for some fax software.
  2792.  
  2793.  
  2794.        4.52 View Current Statistics
  2795.        ----------------------------
  2796.        Whenever you  log-in a comm  port for  testing, the Modem  Doctor keeps
  2797.        tabs  on how many tests were run, the  baud rates that were tested, and
  2798.        how many errors you accumulated. You can view these statistics by using
  2799.        this selection. These results are  also displayed whenever you quit the
  2800.        Modem Doctor.
  2801.  
  2802.        4.53 Print Current Statistics
  2803.        -----------------------------
  2804.        If you wish a hard-copy of your  test results, just select this option.
  2805.        You will  be able to  send this to  any one  of the printers  the modem
  2806.        doctor finds available or to a file called MDR.RPT.
  2807.  
  2808.        4.54 Reset Current Statistics
  2809.        -----------------------------
  2810.        Use this mode to reset all test results back to zero at any time.     
  2811.  
  2812.  
  2813.  
  2814.                                        Page 47
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.                      Modem Doctor 6.0  Technical Reference Manual
  2828.  
  2829.  
  2830.        4.6 Setup Mode     
  2831.        --------------      
  2832.        The setup  mode consists  of 2  sections.  The first,  the setup  modem
  2833.        section was  covered above.  Use this to  change the serial  port under
  2834.        test, the baud rate, and the type of test to be run.        
  2835.  
  2836.        The  second section allows  you to select  the colors that  you wish to
  2837.        work with while using the Modem Doctor. You can select default colors,
  2838.        Monochrome (black and white), or create your own custom colors.
  2839.  
  2840.        If you are using a color monitor, you can use window selections to pick
  2841.        the colors you  like and optionally save  them to a file  (MDR.CFG). If
  2842.        you  save them, then as long as this file exists, the Modem Doctor will
  2843.        use those colors  in place of the  default ones. To return  to default,
  2844.        either erase the  MDR.CFG file, or select default colors and save it to
  2845.        disk. When  you enter the color  selection mode, you will  be presented
  2846.        with three different  windows that will allow  you to make legal  color
  2847.        selections.
  2848.  
  2849.        [ Mdr Color Selection Screen ]
  2850.        Select from this menu the color of normal window and error backgrounds
  2851.        Background
  2852.        Black 
  2853.        Blue  
  2854.        Green 
  2855.        Cyan 
  2856.        Red 
  2857.        Magenta 
  2858.        Brown 
  2859.        Gray 
  2860.  
  2861.        Select from this  menu the  color of all  window foregrounds &  sliding
  2862.        bars
  2863.        foreground colors;
  2864.        Darkgray 
  2865.        Lightblue 
  2866.        Lightgreen 
  2867.        Lightcyan 
  2868.        Lightred 
  2869.        Lightmagenta
  2870.        Yellow 
  2871.        White 
  2872.  
  2873.  
  2874.                                        Page 48
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.                      Modem Doctor 6.0  Technical Reference Manual
  2888.  
  2889.  
  2890.        If  you select two  colors the same (or  different intensities that are
  2891.        the same), the Modem Doctor will tell you your selections  are invalid.
  2892.        After you have made your choices,  you will be presented with a  window
  2893.        that allows you to save your choices to a file, use the choices without
  2894.        saving  or reselect.  If you  save them to  a file,  a file  MDR.CFG is
  2895.        created or  updated. When Modem Doctor loads the next time, it will use
  2896.        these colors again.
  2897.  
  2898.  
  2899.        4.7 Exit Program     
  2900.        ----------------     
  2901.        This is  the  only way  to exit  the Modem  Doctor.  This is  necessary
  2902.        because  the  interrupt tables  and  controllers  of  your PC  must  be
  2903.        returned to their original  state in order to avoid  problems after you
  2904.        use the Modem  Doctor.  Pressing Control-C or  Control-Break during the
  2905.        Modem  Doctor will cause  one of two  things to happen.  First, it will
  2906.        ignore what you  have done if  it is critical that  the program not  be
  2907.        interrupted,  or second,  if  it is  at  all possible  to exit  without
  2908.        damage, a window will open telling you that you can Control-Break abort
  2909.        if you wish..answer yes or  no. You can Control-Break during  all tests
  2910.        and at times from menus. If you choose to quit, the Modem Doctor cleans
  2911.        things up properly  and exits to Dos.  Please remember this is  just an
  2912.        emergency way of  doing an exit. Use the  Exit function from   the main
  2913.        menu as the correct way to end the program.
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.                                        Page 49
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.                      Modem Doctor 6.0  Technical Reference Manual
  2948.  
  2949.  
  2950.  
  2951.        5.0 Error Messages and their Meanings     
  2952.        -------------------------------------     
  2953.        The Modem Doctor, if presented with an error, will make a  diagnosis of
  2954.        the problem. In most cases, this should be enough for you to figure out
  2955.        what is wrong and go on from there to correct it.      
  2956.                 
  2957.        General Program Errors or Warnings
  2958.        ----------------------------------
  2959.        1)   ABORT PROGRAM Control Break Key pressed..Aborting Program Run. 
  2960.             Do you wish to abort? [Y/N] : 
  2961.             - This means you have pressed the Control Break Key sometime
  2962.             during the program run. The Modem Doctor, unlike most programs,
  2963.             does not drop to dos with a Control-Break without cleaning up
  2964.             after itself. Answering Yes will clean up and stop the program.
  2965.             Answering no keeps the program running at the spot you left off
  2966.             at.
  2967.  
  2968.             If you answer Yes, you will see this message;
  2969.             Flushing Buffers.......Restoring Comm Port and Interrupt Vectors
  2970.             Program Aborted..all vectors restore.
  2971.  
  2972.        2)   You Must SETUP a COMM PORT first....Press any key to continue 
  2973.             - If you do not select at least 1 comm port when the program first
  2974.             starts running, you cannot run any tests. This message explains
  2975.             why.
  2976.  
  2977.        3)   Exchanging COM1 and COM2 Base Addresses in Memory
  2978.             COM1 Address was    %x   COM2 Address was    %x
  2979.             COM1 Address now is %x   COM2 Address now is %x
  2980.             Run MDR /X again to exchange again, these changes are gone when
  2981.             you reboot!
  2982.             - This messages is displayed when Modem Doctor is run in the
  2983.             exchange mode (MDR /x).
  2984.  
  2985.        4)   Sorry...but I cant find a modem to use... Use Login Feature to
  2986.             Manually Log in a comm port.
  2987.             - The Modem Doctor needs at least 1 comm port installed at a
  2988.             conventional port address to run. If none are available, you have
  2989.             to use the manual login mode to start testing. You should never
  2990.             see this  error message with a computer unless it has no serial
  2991.             ports whatsoever.
  2992.  
  2993.  
  2994.                                        Page 50
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.                      Modem Doctor 6.0  Technical Reference Manual
  3008.  
  3009.  
  3010.        5)   Resetting modem to your default settings...please wait
  3011.             - Whenever you exit Modem Doctor and a microprocessor-based modem
  3012.             was detected, it will clean up after itself and restore your modem
  3013.             to initial settings. Uart only tests do not display this message.
  3014.  
  3015.        6)   Your foreground color equals  background..please retry
  3016.        7)   Your foreground low intensity equals background, please retry
  3017.             - These messages are displayed when you make color selection
  3018.             choices that would not be proper for the type of display monitor
  3019.             you are using.
  3020.  
  3021.        8)   Warning..I could not create the MDR.CFG file. No colors saved to
  3022.             disk.
  3023.             - Modem Doctor could not save the file to disk, perhaps there is
  3024.             no more space on the disk or the disk is write-protected.
  3025.  
  3026.        9)   Warning..I could not read the MDR.CFG file. No colors read to disk
  3027.             - You asked Modem Doctor to load the color configuration, however
  3028.             there was none found on your disk or in the current working
  3029.             directory.
  3030.  
  3031.        Setup Mode Diagnostics
  3032.        -----------------------
  3033.        1)   No Response...resetting modem microprocessor ...attempt #%d
  3034.             - The Modem Doctor tried sending a simple AT command to your modem
  3035.             but it did not respond with a valid answer.
  3036.  
  3037.        2)   Modem microprocessor command mode not detected
  3038.             - The Modem did not respond to a valid, simple AT command either
  3039.             because it is on-line, jammed, or not completely compatible.
  3040.  
  3041.        3)   Modem microprocessor command bus active
  3042.             - The Modem Doctor received a correct response from the modem and
  3043.             placed it into the command mode.
  3044.  
  3045.        4)   Software reset initiated
  3046.             - A software reset clears all test registers and resets the modem.
  3047.  
  3048.        5)   Modem microprocessor memory tests OK
  3049.             - The Modem Doctor instructed your modem to run a self-test of its
  3050.             RAM/ROM contents. It responded successfully.
  3051.  
  3052.  
  3053.  
  3054.                                        Page 51
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.                      Modem Doctor 6.0  Technical Reference Manual
  3068.  
  3069.  
  3070.  
  3071.        6)   Modem microprocessor memory may have a problem
  3072.             - The Modem Doctor instructed your modem to run a self-test of its
  3073.             RAM/ROM contents and did not receive the proper response. Your
  3074.             modem may or may not have a problem depending on the results of
  3075.             all the rest of the testing. If all other tests are ok, chances
  3076.             are your modem might have a memory problem. If other tests fail,
  3077.             it could be because your modem is not completely compatible.
  3078.  
  3079.        7)   Modem ID reports a 1200 bps modem installed
  3080.             Modem ID reports a 2400 bps modem installed
  3081.             Modem reports a 9600+ bps modem installed
  3082.             Modem reports a 9600 /1440 bps modem installed
  3083.             - All of these messages are based on receiving correct product
  3084.             codes from your modem. Some modem manufacturers however do not
  3085.             place valid product codes in their modems, so it is possible that
  3086.             you might see the Modem Doctor give you the incorrect type of
  3087.             modem. This does not affect testing, however it does affect the
  3088.             type of Modem Driver that is automatically selected. You can
  3089.             override automatic selections from the Carrier Menu by selecting
  3090.             the proper driver for your modem.
  3091.  
  3092.        8)   No modem ID received...using Generic driver
  3093.             - No product code was received, so defaults are being used.
  3094.  
  3095.        9)   Modem microprocessor accepts setup commands
  3096.             Modem microprocessor did not accept setup commands
  3097.             - The Modem Doctor sends setup commands for all of its tests to
  3098.             your modem. If they were not received properly, you get an error
  3099.             message.
  3100.  
  3101.        10)  An 8250-B Uart has been detected
  3102.             A 16450 / 8250A Uart has been detected
  3103.             A 16550AN/AF/AFN Buffered Uart has been detected
  3104.             A 16550 Non-buffered Uart has been detected
  3105.             - The Modem Doctor programs uarts differently depending on the
  3106.             type and the test running. This will tell you what type of uart
  3107.             chip you have installed in your serial port.
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.                                        Page 52
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.                      Modem Doctor 6.0  Technical Reference Manual
  3128.  
  3129.  
  3130.  
  3131.        11)  Modem Control Register reading show that either the LOOP, OUT2,
  3132.             DTR, RTS did not set properly to test. OUT2 and DTR are essential
  3133.             for proper-functioning communications. LOOP is necessary for the
  3134.             digital test to run.
  3135.             -Either the Modem Control Register is bad, or their is a problem
  3136.             with the serial port or modem.
  3137.  
  3138.        12)  Modem Status Register readings show that there is no status coming
  3139.             back from the modem to the Uart. Neither RTS/CTS or DTR/DSR Pairs
  3140.             are active. Most comm programs can work without RTS/CTS, but
  3141.             DTR/DSR are needed by most. RTS/CTS are needed by most hi-speed
  3142.             modems for handshaking.
  3143.             -Your external cable may be wired wrong, or if this is an external
  3144.             modem, check that the cable is plugged in and that the modem is
  3145.             turned on.
  3146.  
  3147.        13)  Line Control Register readings show that the word length selected
  3148.             is incorrect or you have a parity error. WS1 and WS0 should both
  3149.             be on indicating that 8 bit words are to be used. All other
  3150.             readings should be low. Parity errors could happen once but not
  3151.             every time. 
  3152.             -If either persists, then the Uart is defective or communications
  3153.             to the Uart are suspect.
  3154.  
  3155.        14)  Line Status Register readings show a problem. The Tx Holding
  3156.             register THE and the Tx Shift register TSE should be the only
  3157.             active signals. No other signals should be active. If either TSE
  3158.             or THE are not active then the Uart is not resetting properly.
  3159.             Uart is suspect. If any other signal is high, and TSE/THE are both
  3160.             active, then you have a data overrun or framing error. 
  3161.             -If this repeats, you should then suspect the Uart or connections
  3162.             to the Uart from the computer.
  3163.  
  3164.        15)  Modem Control Register readings show that either DTR,RTS or OT2
  3165.             signals are not set properly. DTR & RTS are needed by most comm
  3166.             programs. OT2 is essential for interrupts to occur. 
  3167.             - Uart is suspect or the interface to the Uart from the computer
  3168.              bus.
  3169.  
  3170.        16)  Interrupt ID Register readings show that an interrupt is pending
  3171.             when none should be. This can be caused by a modem being turned on
  3172.             and off as testing was conducted or if data was waiting to be read
  3173.  
  3174.                                        Page 53
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.                      Modem Doctor 6.0  Technical Reference Manual
  3188.  
  3189.  
  3190.             by a prior  running application, or you are not using the correct
  3191.             IRQ line.
  3192.              -If this does not clear when you display the registers again,
  3193.              then the Uart is suspect or connections to the Uart from the
  3194.              computer, or you are using the wrong IRQ line for this comm port
  3195.              assignment.
  3196.  
  3197.        17)  Interrupt Enable Register readings show that ERI Enable Receiver
  3198.             ints is not set properly. As a result, you might not get proper
  3199.             recognition of any interrupts being generated when a character is
  3200.             received. 
  3201.             -Suspect the Uart or connections to the Uart from the computer
  3202.             bus.
  3203.  
  3204.        18)  Interrupt Controller has not responded to setting the IRQ4 line.
  3205.             This problem is on the system board of your computer. Run your
  3206.             computer diagnostics program to locate the error.
  3207.             -Normally IRQ4 is used for COM1 you might have a usage conflict.
  3208.  
  3209.        19)  Interrupt Controller has not responded to setting the IRQ3 line.
  3210.             This problem is on the system board of your computer. Run your
  3211.             computer diagnostics program to locate the error.
  3212.             -Normally IRQ3 is used by COM2 you might have a usage conflict.
  3213.  
  3214.        20)  Interrupt Controller has not responded to setting the IRQ7 line.
  3215.             This problem is on the system board of your computer. Run your
  3216.             computer diagnostics program to locate the error.
  3217.             -Normally IRQ7 is used by the printer you might have a usage
  3218.             conflict.
  3219.  
  3220.        21)  Interrupt Controller has not responded to setting the IRQ5 line.
  3221.             This problem is on the system board of your computer. Run your
  3222.             computer diagnostics program to locate the error.
  3223.             -Normally IRQ5 is used by the Hard Drive Controller you might have
  3224.             a usage conflict.
  3225.  
  3226.        22)  WARNING...This COMM PORT MODEM STATUS & ID REGISTERS ARE DEFECTIVE
  3227.             - This is a severe error. It means that one or more of the uart
  3228.             registers are defective. This could also be caused by logging in a
  3229.             non-existent comm port in the manual mode. You should never
  3230.             see this message displayed in an auto-detected mode unless your
  3231.             uart is definitely defective.
  3232.  
  3233.  
  3234.                                        Page 54
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.                      Modem Doctor 6.0  Technical Reference Manual
  3248.  
  3249.  
  3250.        Uart diagnostics
  3251.        -----------------
  3252.        1)   Confirmed Uart setup to proper baud rate
  3253.             - The uart Dlab (divisor latch) settings are polled to make sure
  3254.             they match what the Modem Doctor intended. If not, you see the
  3255.              following displayed;
  3256.             ERROR..Uart did not set to desired baud rate
  3257.             (you should not see this message unless the divisor latch in your
  3258.             uart is defective).
  3259.  
  3260.        2)   Trying a hardware reset of the modem microprocessor
  3261.             - None of the attention commands or soft-resets to the modem have
  3262.             worked to place the modem microprocessor on-line. A hardware reset
  3263.             simulates turning the power on and off to the modem and uart.
  3264.  
  3265.        3)   WARNING...This unit does not have a compatible modem attached
  3266.             - After many tests and hardware/software resets, the Modem Doctor
  3267.             finally deduces it cannot work with this modem because it is not
  3268.             compatible. If you have a compatible modem, then you might have
  3269.             selected the wrong baud rate to work with, or you forgot to turn
  3270.             the external modem on. If there is a hardware problem, the next
  3271.             screen you will receive will be the uart diagnostics pointing out
  3272.             the problem. 
  3273.  
  3274.        4)   Modem microprocessor ON-LINE
  3275.             - The Modem Doctor successfully communicated to the modem
  3276.             microprocessor.
  3277.  
  3278.        5)   Testing Uart hardware only
  3279.             - You are running uart-only tests.
  3280.  
  3281.        6)   WARNING...The Modem Device appears to be off or not connected
  3282.             - No status is being received from the modem indicating it is on.
  3283.             If it is on, you might have a bad cable. If you are testing a uart
  3284.             that is hooked up to a serial mouse, then you will always see this
  3285.             message displayed, for a serial mouse does not use traditional
  3286.             uart status.
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.                                        Page 55
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.                      Modem Doctor 6.0  Technical Reference Manual
  3308.  
  3309.  
  3310.  
  3311.        Report Generator Messages
  3312.        --------------------------
  3313.  
  3314.        1)   You selected to clear the report stats.This means that any errors
  3315.             found will not be reported in a final report format. 
  3316.             Are you sure [Y/N]: ? 
  3317.             - All report statistics will be cleared if you respond Yes.
  3318.  
  3319.        2)   Send to file MDR.RPT 
  3320.             Send to printer LPT1:
  3321.             Send to printer LPT2:
  3322.             Send to printer LPT3:
  3323.             Do not Print /Return
  3324.             - The printed form of your report can be sent to any one of 3 dos
  3325.             printers (if the Modem Doctor detects they are installed) or to a
  3326.             file called MDR.RPT.
  3327.             
  3328.        3)   Print Buffer full or Printer off-line
  3329.             - If the Modem Doctor cannot communicate with the printer, it is
  3330.             either receiving a busy signal from the printer (which clears when
  3331.             the busy signal is lifted) or the printer is off-line.
  3332.  
  3333.        Static DTR/DSR   RTS/CTS  Handshaking tests
  3334.        -------------------------------------------
  3335.  
  3336.        1)   Lowering DTR Signal..waiting for DSR to follow
  3337.             DSR did not follow DTR dropping or is set as a permanent ON
  3338.             DSR followed DTR drop...normal for all devices
  3339.             DSR did not follow DTR raising..possible cable or modem setup
  3340.             problem
  3341.             DSR followed DTR raise or is set as a permanent ON
  3342.             - The DTR/DSR tests work by lowering the DTR (Data terminal ready)
  3343.             signal from the computer to the modem. If the modem uses this type
  3344.             of handshaking, it should respond by lowering its signal that is
  3345.             picked up in the uart modem status register as a DSR (Data set
  3346.             ready) signal. If not, then either the modem is not set up
  3347.             properly according to standard handshaking protocol or you have a
  3348.             bad cable. Please note, a failure to follow DTR/DSR handshaking
  3349.             might keep some communication programs from working with your
  3350.             modem. If you get an error, consult your modem manual or have the
  3351.             Modem Doctor test your cable to an external modem with a loopback
  3352.             plug.
  3353.  
  3354.                                        Page 56
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.                      Modem Doctor 6.0  Technical Reference Manual
  3368.  
  3369.  
  3370.             
  3371.        2)   Lowering RTS signal..waiting for CTS to follow
  3372.             Dropping RTS Signal to modem
  3373.             Modem is using RTS/CTS Handshaking properly
  3374.             Modem is not using RTS/CTS Handshake hold
  3375.             Raising RTS line    
  3376.             CTS did not follow RTS dropping...usually normal for modems
  3377.             CTS followed RTS drop...usually normal for serial devices
  3378.             CTS did not follow RTS raising...you could have a cable problem
  3379.             CTS followed RTS raise or is set as a permanent ON
  3380.             - Like DTR/DSR, RTS/CTS handshaking tests check that if the
  3381.             computer lowers its RTS (Ready to send) line, that the modem
  3382.             responds in kind and that the CTS (Clear to send) status is echoed
  3383.             to the uart modem status register. This signal is not as important
  3384.             as the DTR/DSR, unless you have a high speed modem. In this case
  3385.             RTS/CTS handshaking is critical for proper high-speed transfers.
  3386.  
  3387.        Carrier and Dynamic tests
  3388.        ---------------------------
  3389.        1)   Sending Carrier Test info to modem
  3390.             - Commands to self-connect are beings sent to your modem.
  3391.  
  3392.        2)   T1 Loopback commands sent waiting 5 seconds till start of test
  3393.             - The alternate &T0/&T1 instruction set is being used for self
  3394.             tests.
  3395.  
  3396.        3)   Carrier Detected...waiting 5 seconds to the start of the test
  3397.             - The RLS (Received line signal) went to an active state or the
  3398.             Modem Doctor received the words CONNECT from the modem during
  3399.             self-testing. The 5 second delay is necessary to allow some modems
  3400.             to settle down for proper reception of characters during
  3401.             self-tests.
  3402.  
  3403.        4)   Using &T1 Loopback command set to modem for this test
  3404.             - If you selected the Generic driver and the Modem Doctor failed
  3405.             to connect, it uses this &T0/&T1 instruction set automatically for
  3406.             its testing. 
  3407.  
  3408.        5)   Sending 20 Characters to the modem
  3409.             - All Dynamic DTR/DSR and RTS/CTS tests force the modem to self
  3410.             connect. Next either the DTR or RTS lines are dropped, and 20
  3411.             characters are sent to the modem. If no characters are received
  3412.             back to the computer from the modem, then the Modem Doctor reports
  3413.  
  3414.                                        Page 57
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.                      Modem Doctor 6.0  Technical Reference Manual
  3428.  
  3429.  
  3430.             that the dynamic handshaking works. If a character is received,
  3431.             then it means that type of dynamic handshaking does not work.
  3432.  
  3433.        6)   Sending Xoff Signal to modem
  3434.             - An ASCII character that tells the modem NOT to send data has
  3435.             been transmitted to the modem for dynamic Xon/Xoff testing.
  3436.  
  3437.        7)   Modem is using Xon/Xoff Handshaking properly
  3438.             - 20 characters were sent to the modem, and it properly did not
  3439.             send anything back to the computer.
  3440.  
  3441.  
  3442.        8)   Modem is not using Xon/Xoff Handshake hold
  3443.             - 20 characters were sent to the modem, but it send them back to
  3444.             the computer, indicating it did not recognize the dynamic Xon/Xoff
  3445.             handshake test. Normally most modems do not need this handshake.
  3446.  
  3447.        9)   Sending Xon Signal to the modem
  3448.             - This restores the modem to proper operation and clears its
  3449.             internal data buffers.
  3450.  
  3451.        10)  Warning...I can't test this modem because there is no RTS/CTS
  3452.             signals. If this is an external modem, you may not have a proper
  3453.             cable or the modem is off. If you have an internal, you might have
  3454.             a port conflict or a configuration switch set improperly.
  3455.             - Most times this message is due to an improperly wired cable or a
  3456.             improper configuration of some modem switches. See your modem
  3457.             manual for setup, or use a loopback plug and the Analog loopback
  3458.             mode to test the cable.
  3459.  
  3460.        11)  Setting up the modem for the Originate Mode Carrier Test..please
  3461.             wait.
  3462.             Setting up the modem for the Answer Mode Carrier Test.....please
  3463.             wait.
  3464.              -Self tests commands are being sent to your modem for the
  3465.               different connect modes and frequencies.
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.                                        Page 58
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.                      Modem Doctor 6.0  Technical Reference Manual
  3488.  
  3489.  
  3490.  
  3491.        General program warnings
  3492.        ------------------------
  3493.        1)   Note...you hit the Escape Key during testing. This means the
  3494.             results of this test is inconclusive. You should run these tests
  3495.             again without escaping for a valid performance check.
  3496.             - You can press escape during nearly all tests that the Modem
  3497.             Doctor runs (except during crucial communication modes between the
  3498.             modem and computer, in which case as soon as this communication is
  3499.             completed, the Modem Doctor will escape with this warning.
  3500.  
  3501.        2)   INTERRUPT FAILURE Warning
  3502.             Note...No interrupts were detected or generated during testing.
  3503.             This could be due to a failure of your serial port to generate
  3504.             interrupts or you have selected an IRQ line or Comm assignment in
  3505.             error on the serial card or in a custom assignment from the Login
  3506.             menu manual mode. Check your settings and if all is ok, suspect
  3507.             the Uart or serial port card.
  3508.             - This warning can be received anytime that the Modem Doctor tries
  3509.             to talk to a modem or a uart (in analog loopback test). The most
  3510.             common cause of this problem is an incorrect jumper or comm port
  3511.             assignment on your modem or serial port. See the section on IRQ's
  3512.             and their meanings to select the proper IRQ line for your port.
  3513.  
  3514.        3)   Fixed Rate Advisory
  3515.             Note...I had to lower the baud rate to match the connect rate.
  3516.             What this means is that you are using a high speed modem with a
  3517.             fixed link rate in a variable rate mode. You might want to check
  3518.             your DTE/DCE settings in your modem Nram if this is not desired.  
  3519.            - Most high-speed modems keep the link between the computer and
  3520.             the modem running at a fixed rate, while the connection between
  3521.             the modem and the remote modem (bbs or service) operates at
  3522.             another rate. This method allows data compression and greater
  3523.             throughput (characters per second) to be received by the computer.
  3524.             If you have a high-speed modem, check your settings. It is
  3525.             recommended you run in the fixed link rate whenever possible so
  3526.             you can gain all the benefits of data compression with the new
  3527.             data protocols.
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.                                        Page 59
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547.                      Modem Doctor 6.0  Technical Reference Manual
  3548.  
  3549.  
  3550.  
  3551.        4)   Failure Report 
  3552.             RLS (Received Line Signal Detect) indicates that a carrier has not
  3553.             been received by the UART. Check modem or connector wiring 
  3554.             - This is an advisory that you might have a cable wired      
  3555.             incorrectly between your computer and external modem or that your
  3556.             modem does not raise the RLS signal. This is only critical if your
  3557.             communication  programs never display the words "ON-LINE".
  3558.  
  3559.        5)   Modem not responding to the Analog originate test
  3560.             - Modem never went into the self-test mode. 
  3561.  
  3562.        6)   Carrier Not Detected..5 Sec Sync Delay till start of Answer test  
  3563.             Modem not responding for Analog answer test
  3564.             - A carrier should have been received by the RLS signal or the
  3565.             words CONNECT from the modem, if not, the &T0/&T1 instructions are
  3566.             sent and the test is performed. If the modem does not respond to
  3567.             this test, then the last message is displayed indicating a problem
  3568.             getting the modem to self-test itself.
  3569.  
  3570.        7)   RLS Warning
  3571.             The Received Line Signal of your modem stayed active throughout
  3572.             the testing. Some modems have a jumper or switch that should be
  3573.             set to carrier is active only when a signal is detected. Check
  3574.             your manual to change this setting so the Modem Doctor and comm
  3575.             programs will work properly. Check your modem to make sure that
  3576.             Carrier isn't forced high 
  3577.  
  3578.        8)   NOTE.Carrier (RLS Line) active, it should not be..test may not be
  3579.             valid.
  3580.             - The RLS signal was always active. This means the Modem Doctor
  3581.             cannot figure out if the modem ever entered the self-test mode.
  3582.             Also, your communications program probably will always display the
  3583.             "ON-LINE" status. Unfortunately, this type of situation is the
  3584.             default setting from the factory of most 2400 bps modems. It can
  3585.             be reprogrammed by a simple setup command. See your modem manual
  3586.             for instructions.
  3587.  
  3588.        9)   SET YOUR MODEM TO ORIGINATE CARRIER FREQUENCY...PRESS TO CONTINUE
  3589.             SET YOUR MODEM TO ANSWER CARRIER FREQUENCY...PRESS TO CONTINUE
  3590.             - Dumb modem tests require you to flip switches on your modem.
  3591.             Usually this is the AL button. After you do this, the Modem Doctor
  3592.             should see a carrier and continue proper testing.
  3593.  
  3594.                                        Page 60
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.                      Modem Doctor 6.0  Technical Reference Manual
  3608.  
  3609.  
  3610.        10)  Loopback Transmit Error
  3611.             Loopback Queue Failure
  3612.             ESCAPE KEY PRESSED....ABORTING ALL LOOPBACK TESTS
  3613.             UART Control Lines set...waiting 2 seconds for CTS Handshake
  3614.             NO CTS Handshake Detected .Continuing test even though plug/line
  3615.             maybe bad
  3616.             Loopback Queue Failure 
  3617.             UART not responding using Analog Loopback Plug mode
  3618.             No Loopback Plug or General Failure of the Hardware
  3619.             Analog Loopback Test passed without any errors
  3620.             - If the analog loopback did not return characters or generate an
  3621.             interrupt, then the uart may have been tested without a loopback
  3622.             plug attached or there is a failure of the uart. If all was ok, a
  3623.             passed message is displayed.
  3624.  
  3625.        11)  Loopback Transmit Error
  3626.             UART not responding to the Digital Loopback test
  3627.             UART Registers did not set for Loop back test 
  3628.             UART Digital Test passed without any errors
  3629.             - If no characters were received, then either the uart you are
  3630.             working with is not 100% 8250-B compatible or defective. If
  3631.             everything was ok, a passed message is displayed.
  3632.  
  3633.        12)  Warning, Comm Port 1 is using Com Port 2's address.You should
  3634.             reconfigure your Serial Card to the correct Address.
  3635.             Otherwise,Communication programs won't properly operate.
  3636.  
  3637.        13)  Warning, Comm Port 2 is using Com Port 1's address.
  3638.             Do you want me to correct this for testing purposes only? [Y/N]: 
  3639.             - These error messages are received if the Modem Doctor found a
  3640.             Com2 reserved address as Com1, or visa versa. Many PC owners that
  3641.             do not have built-in serial ports make the mistake of assigning a
  3642.             Com2 address without having a Com1 installed. The ROM-BIOS cannot
  3643.             correct this problem or even detect it. The Modem Doctor does and
  3644.             will point out the error to you.
  3645.  
  3646.        14)  Flopping COM1/COM2 pointers in Memory only. Note..this is only
  3647.             valid till the next warmboot of your system. You must change your
  3648.             serial card settings to keep this permanent. Note...tests may not
  3649.             work  properly because of this error.
  3650.             - This message is displayed either in the exchange mode or when
  3651.             the Modem Doctor is asked to fix the problem of addresses in
  3652.             memory for testing only.
  3653.  
  3654.                                        Page 61
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.                      Modem Doctor 6.0  Technical Reference Manual
  3668.  
  3669.  
  3670.        15)  Logging out incorrect COM1 for testing purposes.
  3671.             Logging out incorrect COM2 for testing purposes.
  3672.             - If you decide not to fix a problem, the incorrect assignment is
  3673.             logged out of Dos and your choices for testing.
  3674.  
  3675.        16)  ALL Available COMM ports are in use...Press to Return
  3676.             - If 4 comm ports (shareware) or 8 comm ports (registered) are
  3677.             already in use, you cannot add any more in the auto-login mode to
  3678.             the Modem Doctor. Use the manual mode to override your choices for
  3679.             testing comm ports higher than 8.
  3680.  
  3681.        17)  Comm (x) Not Found ... override ? :
  3682.             - You told the Modem Doctor in manual mode that a port existed
  3683.             with a certain base port address. It was not found. If you
  3684.             override, this  address is logged in for testing. This allows you
  3685.             to test a defective uart chip that might not be recognized by dos
  3686.             or the Modem Doctor as valid.
  3687.  
  3688.        18)  Sorry...your Modem.dat file has an invalid Comm port
  3689.             Sorry...I cannot find Modemdr.dat file in this directory
  3690.             
  3691.             WARNING...RESERVED PORT ADDRESS in Mdr.dat file
  3692.             correct address in hex must be between [ ]..ie [2F8]
  3693.  
  3694.             Sorry...your Modem.dat file has an invalid Speed..using 300 baud
  3695.  
  3696.             Modem Did not respond to setup string..run the Modem Doctor to
  3697.             check your modem.
  3698.  
  3699.             Programming according to file Mdr.dat
  3700.             Modem Responded to setup string and is ready for use
  3701.  
  3702.             - Running Modem Doctor in the setup (/s) mode, the file MDR.DAT is
  3703.             queried for the proper comm port, address, speed and setup string.
  3704.             If any of this is invalid, one of the messages above is received.
  3705.             If it is valid you receive the message that Modem Doctor is
  3706.             programming according to the Mdr.dat file.
  3707.  
  3708.  
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714.                                        Page 62
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722.  
  3723.  
  3724.  
  3725.  
  3726.  
  3727.                      Modem Doctor 6.0  Technical Reference Manual
  3728.  
  3729.  
  3730.  
  3731.        19) Standard Assignment Not Verified
  3732.             When Modem Doctor 6 starts, it automatically verifies all comm
  3733.             port base addresses and IRQ settings. However, some environments
  3734.             may not tolerate self-testing of IRQ selections. To defeat this
  3735.             setting,  Modem Doctor is started with the /Q switch. When
  3736.             operating in this mode, Modem Doctor displays the above message
  3737.             next to the IRQ assignments to indicate that the program has not
  3738.             verified any IRQ assignments.
  3739.  
  3740.        Section 6. Special Modes and Information     
  3741.        ---------------------------------------- 
  3742.        The Modem Doctor supports a wide range of "AT" instruction set modems.
  3743.        There are however  "supersets" of instructions that  manufacturers have
  3744.        used to enhance the capability of their modems. Although there is some
  3745.        structure  in this area, not all commands intermix between different
  3746.        brands and lines of modems. This situation is analogous to PC computer
  3747.        printers, and it  calls for a similar approach. The Modem Doctor now
  3748.        supports the use of "Modem Drivers" to meet these special needs. 
  3749.        Additionally, due to the increase in computers using the ISA bus, there
  3750.        are more interrupt lines  free to be used  by modem manufacturers.  For
  3751.        test purposes, you can use IRQ2-15 for your hardware testing. Using the
  3752.        special /S switch, you can send initialization codes to your modem from
  3753.        a batch  file or other  command-line need to  setup the modem  for use.
  3754.        Finally, to  add some  flexibility to  the Modem  Doctor's diagnostics,
  3755.        some  special  "Hot-keys" have  been added.  These have  been discussed
  3756.        above in  an operational sense,  however in  this section you  will get
  3757.        some idea of how these can help you speed up testing and test defective
  3758.        or non-compatible hardware.   
  3759.                
  3760.        6.1 Using Modem Drivers 
  3761.        -----------------------  
  3762.        Most Modem's today are built on  the original "AT" instruction set that
  3763.        was developed by Hayes Micromodems  in their 1200B series. This driver,
  3764.        named the Generic  Driver in the  Modem Doctor, is used  exclusively if
  3765.        the modem returns an ID indicating it is a 300,1200 or 2400  bps modem.
  3766.        Also, if the modem  does not return an ID, this Generic Driver is used.
  3767.        The Generic Driver can be used to test nearly all modems, however there
  3768.        are some 2400 bps modems that  were  built using the command  structure
  3769.        that Hayes Micromodems put into their 2400B line. These  modems used an
  3770.        "&" for some  modem setup and command functions. The Modem Doctor has a
  3771.        driver for these modems called the "&T0/&T1" driver. Using this driver,
  3772.        the Modem Doctor  can perform  a simulated   carrier test. During  your
  3773.  
  3774.                                        Page 63
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.                      Modem Doctor 6.0  Technical Reference Manual
  3788.  
  3789.  
  3790.        testing of  this type  of modem, you  will notice  the MB  (Modem Busy)
  3791.        light flashing on your    external modem. This driver  (and all others)
  3792.        is user selectable, however the  Modem Doctor will automatically switch
  3793.        to it when performing the carrier tests if the Modem was detected to be
  3794.        a 2400 bps modem.
  3795.  
  3796.        Most high speed modem will work properly with one of two drivers; The
  3797.        Hayes Ultra or  US Robotics  (Courier) V.32.  So if your  modem is  not
  3798.        listed, use one of these two drivers in its place.
  3799.  
  3800.        6.11 External Modem Drivers
  3801.        ---------------------------
  3802.        Supported starting with version 4.0 is the ability to read a specially
  3803.        created  external modem  driver file.  This file  makes it  possible to
  3804.        handle any future  changes in modems by  simply releasing a  new driver
  3805.        file.  When the  Modem Doctor  first begins,  it looks  in the  default
  3806.        directory for the existence of this driver  file. If it exists, a valid
  3807.        checksum is performed  to see that it is indeed a  modem driver. If so,
  3808.        this external set of  commands is inserted  in place of the  internally
  3809.        contained modem  drivers. As of the  initial release of  6.0, there are
  3810.        two external driver files in  circulation. These drivers are built into
  3811.        the latest  release of  Modem Doctor  (ver 6.0).  Driver files  will be
  3812.        released under 2 conditions; first, if a bug is detected in any  of the
  3813.        driver  routines, a  shareware  driver  file will  be  released on  the
  3814.        bulletin boards at no cost. Registered users will be mailed at  no cost
  3815.        the  updated driver  file. Second,  if a  registered user would  like a
  3816.        custom modem driver file written, we will create one at  minimal charge
  3817.        as long as proper documentation for the type of modem is  submitted. If
  3818.        you wish  to have an  interface written, please contact  us for pricing
  3819.        and appropriate  information that we will need to do this for you.
  3820.                 
  3821.                 
  3822.        6.2 Using the Command Line Mode switch /S 
  3823.        ----------------------------------------  
  3824.        There can be special occasions where you need to initialize and test a
  3825.        modem  before another program can be run. The Modem Doctor now supports
  3826.        a method to do this. Using the command line switch /S, you can instruct
  3827.        the Modem Doctor to "wake-up" a Modem and send an initialization string
  3828.        to it.
  3829.  
  3830.        Although similar to our product Comset, it offers some additional
  3831.        flexibility but does not allow the serial port only setup that Comset
  3832.        does.    To use  this special mode, you  need to have  a companion file
  3833.  
  3834.                                        Page 64
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840.  
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.                      Modem Doctor 6.0  Technical Reference Manual
  3848.  
  3849.  
  3850.        named MDR.DAT that you create  with any ASCII text editor  that follows
  3851.        this format;  
  3852.  
  3853.             1) All information must start on the first space on each line     
  3854.                and can consist of up to 3 lines. Line 1 and Line 2 are 
  3855.                required.  
  3856.                 
  3857.             2) Line 1 = Port Number 1 through 8 and an optional port address
  3858.                in  [] ( For settings greater than Port 4, this address is
  3859.                required).
  3860.  
  3861.             3) Line 2 = the Baud Rate you wish to use (300-115200 or 3-1152
  3862.                are acceptable).  
  3863.                
  3864.             4) Line 3 = the initialization string you wish to send. This
  3865.                string must start with AT and can be up to 80 characters long.
  3866.                If no string is included in the file, or if it does not begin
  3867.                with the letters AT, then ATZ is automatically sent to the
  3868.                modem.   
  3869.                 
  3870.             Example..to setup Port 2 to 19200 and set S7 to 255;  
  3871.             Make a file called MDR.DAT that looks like this;        
  3872.  
  3873.                 2 [2F8]<--note for Port 1-4 unless it is non-standard [2F8] 
  3874.                           is not needed   
  3875.                 192   
  3876.                 AT S7= 255  
  3877.             Next, start the Modem Doctor by typing  MDR /S. As long as the
  3878.             MDR.DAT file is in the current working directory, these commands
  3879.             will be sent. If not, you will get an error message stating that
  3880.             MDR.DAT could not be found.  
  3881.  
  3882.             Why not have the Modem Doctor search all directories for the file?
  3883.             Well, the reason is so that you can put MDR.EXE in a Dos path but
  3884.             have individualized setup MDR.DAT files in different
  3885.             subdirectories for different programming needs. Instead of
  3886.             constantly changing the file, make different ones and call
  3887.             MDR.EXE. It will only use the MDR.DAT file in the current working
  3888.             directory.
  3889.                 
  3890.        After the initialization string is sent, the Modem Doctor will wait
  3891.        up to 10 seconds for the word "OK" to return from  the modem. If it
  3892.        does not, you will get a message saying the modem failed to setup. In
  3893.  
  3894.                                        Page 65
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.                      Modem Doctor 6.0  Technical Reference Manual
  3908.  
  3909.  
  3910.        either case, whatever your modem sent to the Modem Doctor will be
  3911.        displayed. If you see the word "ERROR", that was sent from the modem,
  3912.        it probably means that your initialization string was not correct. No
  3913.        message returning could indicate a problem with the modem, or an
  3914.        invalid baud rate. When it finishes executing, the Modem Doctor
  3915.        returns an errorlevel to the calling program. An errorlevel of 0 is
  3916.        normal, an errorlevel of 99 indicates a failure. You can use these
  3917.        errorlevels to control batch processes if you wish to.  
  3918.        Also, this mode of the Modem Doctor uses bios screen writes, so all
  3919.        of the information displayed can be redirected to a printer, a file,
  3920.        or whatever other DOS device you wish.  Example...to send the output
  3921.        of this test to a file called Test.txt...  
  3922.  
  3923.                  MDR /S  > TEST.TXT or    MDR /S >> TEST.TXT (if you wish to
  3924.                  append an existing Test.txt file.  
  3925.  
  3926.        If the Modem Doctor setup was successful, the modem's DTR and RTS lines
  3927.        stay active, if not, they are dropped.  If you need more specialized
  3928.        command-line  modes of  operation, you  might  consider Comset.  Comset
  3929.        allows Serial Ports and  Modems to be setup at various  rates and under
  3930.        various conditions. Registered  Modem Doctor users get  a 15% discount!
  3931.        You can find Comset on most BBS's as COMSET12.ZIP.   
  3932.            
  3933.        6.3 Using the Hot-Keys 
  3934.        ----------------------  
  3935.        Hot-Keys are  combinations of  the ALT  key plus  a  letter. The  Modem
  3936.        Doctor adds several of these Hot-keys to make it easier to test  modems
  3937.        at different  baud rates and to  circumvent  some of the error checking
  3938.        that the program performs under normal circumstances.  
  3939.                 
  3940.        ALT-B Change Baud rate - 
  3941.        If you are testing a system that you  suspect has a problem, it is best
  3942.        to use the setup mode when changing the baud rate.  The Setup mode will
  3943.        test all the registers, and  the modem microprocessor (if selected) and
  3944.        assure you that all the hardware is communicating properly at each baud
  3945.        rate. However, if  you feel a system  is running fine, using  the ALT-B
  3946.        from the  main menu can save time when  running tests at different baud
  3947.        rates. Press ALT-B  and select the baud rate (taking care not to select
  3948.        a rate higher that what your modem is  rated for if you are doing modem
  3949.        tests). ALT-B  works from the  main menu,  and from  inside the  Manual
  3950.        interactive mode.   
  3951.                 
  3952.  
  3953.  
  3954.                                        Page 66
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.                      Modem Doctor 6.0  Technical Reference Manual
  3968.  
  3969.  
  3970.        ALT-C Clear Screen - 
  3971.        This key is  only active inside of  the Manual interactive mode  and is
  3972.        used to clear the text window of any characters.                     
  3973.  
  3974.        ALT-F Force Microprocessor on-line - 
  3975.        The  Modem  Doctor  has  many  tests built-in  to  verify  the  working
  3976.        condition of a microprocessor-based modem and will not allow a modem to
  3977.        be tested  in the  "AT" instruction  set mode  if it  has not  properly
  3978.        addressed and setup a modem microprocessor. Using the ALT-F combination
  3979.        forces the Modem Doctor to perform tests as if it had properly  setup a
  3980.        modem. This  feature should  be used  with care,  however   its primary
  3981.        benefit is to  help you test a malfunctioning modem to see exactly what
  3982.        commands it will respond to. Pressing ALT-F also updates the status bar
  3983.        to  indicate that the modem microprocessor is on-line (which may or may
  3984.        not be the  case after this command  was issued). Version 4.0  of Modem
  3985.        Doctor makes this hot-key a toggle, so pressing 1 time will  change the
  3986.        on-line status. Pressing again returns it back to normal.
  3987.  
  3988.        ALT-H Help -
  3989.        You can  press this key at any  time to get help on  a topic or general
  3990.        help depending on  if you are in  a menu or at the  main menu selection
  3991.        bar.
  3992.  
  3993.        ALT-R Register Display - 
  3994.        This is  only active inside of the Manual  interactive mode and is used
  3995.        to  display  the status  of  all  Uart  registers  on  the  screen  for
  3996.        diagnostic purposes.  
  3997.  
  3998.        ALT-X Exit Mode - 
  3999.        This is only active inside of  the Manual interactive mode and is  used
  4000.        to exit this mode. 
  4001.  
  4002.        Control -Break
  4003.        --------------
  4004.        This  allows  an immediate  exit from  anywhere permissible  inside the
  4005.        Modem  Doctor,  however  it offers  you  a  choice to  clean  up  or to
  4006.        continue. You should not  use this mode, it  is better to exit via  the
  4007.        Main menu selection.
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013.  
  4014.                                        Page 67
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020.  
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.                      Modem Doctor 6.0  Technical Reference Manual
  4028.  
  4029.  
  4030.  
  4031.        6.4 Logging in Defective Ports 
  4032.        ------------------------------  
  4033.        If a serial port Uart is defective, the Modem Doctor will refuse to log
  4034.        it in for testing. This is necessary because there is no way  for it to
  4035.        know  what  ports  are defective  and  what  are  non-existent. However
  4036.        starting with  Version 4.0, you  can now  log-in a  defective chip  for
  4037.        testing. The procedure to do so is explained above under Manual  Login.
  4038.        The reason for  doing so however might  not have been apparent.  If any
  4039.        register of a serial port is defective, it might not function properly.
  4040.        Logging in this  defective port will give  you the full benefit  of the
  4041.        Uart and Serial port diagnostics.  Error messages will be displayed, in
  4042.        most  cases  there will  be  multiple  error  messages. There  are  two
  4043.        possible causes of a defective port; the  Uart chip and the Serial Port
  4044.        address system. If  it is a chip,  simply replacing the chip  fixes the
  4045.        problem.  If it is  a serial port  instead, then the  same problem will
  4046.        repeat. How do  you approach this?  Well for  starters, check that  the
  4047.        strapping  on your  serial port  board  matches the  correct COMM  port
  4048.        assignment (ie strapped for COM1 for COM1..etc). Next, if there is user
  4049.        selectable IRQ  assignments, make sure  it again matches the  COMM port
  4050.        assignment (IRQ4 for COM1/3, IRQ3 for COM2/4, IRQ5 for COM7/8, IRQ7 for
  4051.        COM6/7). If all  this is set properly,  then you can suspect  the chip,
  4052.        but also the Serial Port hardware that gates the address of the chip to
  4053.        the computer.  Finally, if you get warnings  about status, but the chip
  4054.        logs in, then  you might just have a bad cable from the computer to the
  4055.        modem (NOTE:  The Modem  Doctor does  not consider  this  an error  but
  4056.        simply displays a warning and allows the Uart to be logged-in for use).
  4057.             
  4058.                 
  4059.        6.5 What tests cannot Do     
  4060.        ------------------------     
  4061.        Although  I  tried to  be extremely  thorough  in my  tests,  there are
  4062.        somethings that  tests just cannot  do or  pinpoint. If you  are having
  4063.        problems with  excessive line-noise,  you might  have a  bad connection
  4064.        between  your modem  and your  telephone wiring  in the  house. Another
  4065.        possibility, although  remote, is  that your modem  does not  offer the
  4066.        correct input  impedance to  the telephone line.  This can cause  poor 
  4067.        connections. The  problem is with  the electronic design of  the modem,
  4068.        and  again, it  is more  prevalent in  inexpensive modems.  Also, tests
  4069.        cannot check  that the communications  program you are using  is set up
  4070.        correctly.
  4071.  
  4072.  
  4073.  
  4074.                                        Page 68
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.                      Modem Doctor 6.0  Technical Reference Manual
  4088.  
  4089.  
  4090.        At times,  installing a  communications package can be very challenging
  4091.        for a novice  user. Tests also cannot  check the wiring in  your serial
  4092.        Cable. The Modem Doctor will tell you if a handshaking pair is missing,
  4093.        but it cant tell you why. It could be because the Uart is bad, but more
  4094.        than likely,  your RS-232  Cable doesn't carry  all of  the handshaking
  4095.        signals to  or from the  external modem or  serial device. This  can be
  4096.        important if you  are using a high-speed modem.  Most High-speed modems
  4097.        will  drop the  CTS line  when  their communication  buffers are  full.
  4098.        Previous  Modems ignored   the  RTS/CTS  signals and  instead used  the
  4099.        DTR/DCE pair. What this  means is that if you buy a new modem, it might
  4100.        not work with  the older-cable (yet  at the same  time the older  modem
  4101.        will  work..which might lead  you to believe that  you have a defective
  4102.        modem).      
  4103.                 
  4104.        6.6 Quirks with Some Modems     
  4105.        ---------------------------      
  4106.        Carrier tests - 
  4107.        Some  Modems have  two "AT"  instruction sets,  usually referred  to as
  4108.        Compatible and Enhanced. If your modem does not perform a carrier  test
  4109.        at speeds  below 4800,  then  this is  usually  the case.  Some  modems
  4110.        provide a dip-switch or  a toggle switch to select either mode. Setting
  4111.        your  modem to  the Standard  Compatible Mode  should get  rid of  your
  4112.        problems  below  4800 bps.  Also,  make  sure  you select  the  Generic
  4113.        Compatible  Modem Driver  unless you  are sure  your modem  matches the
  4114.        modem's that have special drivers  written especially for their use. At
  4115.        speeds above  4800 bps,  the Modem Doctor  is only compatible  with USR
  4116.        V.32, Dual  Standards (V.32  and HST)  and HST  brand of  modems, Hayes
  4117.        V9600 and  Ultra 9600,  and Courier 2400  modems. If  you wish  to test
  4118.        another brand  of modem that  is not  compatible, simply  turn off  any
  4119.        modem-hardware error correcting using the Manual mode and following the
  4120.        information in your  modem users manual. Then select  the Generic Modem
  4121.        Driver and you should be able to test your modem properly. 
  4122.  
  4123.        Finally, if only one of the tests (Originate or Answer) runs and NO    
  4124.        CARRIER is displayed for the other, the problem lies with the Enhanced
  4125.        Command  settings of  your  modem.  Hayes Modems  use  &T1 through  &T8
  4126.        commands for their 2400 and also  have other special switches. The  &T0
  4127.        command set is tried by this version of the Modem Doctor automatically,
  4128.        however there  is no compensation for any other type of modems that use
  4129.        non-standard  commands. Again for  the sake  of compatibility  with the
  4130.        widest range of  modems at speeds below 4800,  this cannot be corrected
  4131.        for in  this version. Considering  the vast numbers of  "AT" compatible
  4132.        modems in the marketplace,  these two exceptions are minor and will not
  4133.  
  4134.                                        Page 69
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.                      Modem Doctor 6.0  Technical Reference Manual
  4148.  
  4149.  
  4150.        affect most users. Finally, users of 8250 compatible  Uarts that do not
  4151.        support the  Digital (Chip) Loopback will get  an error. This should be
  4152.        of no concern.   However if the test runs  for a while, then fails,  it
  4153.        could indicate  a problem  with your  Uart. This  is  explained in  the
  4154.        pull-down window  in the program. The  Modem Doctor has been  tested on
  4155.        about 25 Modems from Major Manufacturers and on a variety of Clones and
  4156.        Compatibles  (plus the  "Real Thing").  It is  possible that  a certain
  4157.        combination of hardware still might give problems, however if you are a
  4158.        registered user, I will find a way to make it work.  
  4159.  
  4160.        6.7 Buffered vs Direct Connect Modems
  4161.        -------------------------------------
  4162.        When testing  high speed  modems,  you should  note that  some of  them
  4163.        cannot test in the a "buffered mode", which means that they will not be
  4164.        able to  self-test in  carrier mode  above speeds  of  9600. The  Hayes
  4165.        Ultra's fall into  this category. The highest DTE/DCE rate  you can use
  4166.        and still generate  a successful carrier test  is 9600 bps. Any  higher
  4167.        DTE rate will cause Modem Doctor to return errors that are not valid. 
  4168.                 
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.  
  4177.  
  4178.  
  4179.  
  4180.  
  4181.  
  4182.  
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.                                        Page 70
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.                      Modem Doctor 6.0  Technical Reference Manual
  4208.  
  4209.  
  4210.  
  4211.        6.8 Using Digiboard Serial Ports
  4212.        --------------------------------
  4213.        Modem Doctor now supports Digiboard  Intelligent Serial Ports that  use
  4214.        the "X"  series drivers (XIDOS). To  test these serial ports,  you must
  4215.        start Modem  Doctor with  the /D command...ie  from the  dos prompt....
  4216.        MDR /d (or MDR /D).
  4217.  
  4218.        The /D switch  instructs Modem Doctor to ignore  traditional comm ports
  4219.        and instead test Digiboards. When  started in this manner, Modem Doctor
  4220.        looks  for an  installed  driver. If  one is  not  found, Modem  Doctor
  4221.        defaults to the INT14 support mode (pretty useless unless you also have
  4222.        an INT14 driver running).
  4223.  
  4224.        ╒[ DigiBoard Hardware Detection ]═════════════════════════════════════╕
  4225.        │ Driver Version :  409   Supported Channels:  4   Total Boards:  1   │
  4226.        │ Lowest Channel :    4    Highest Channel  :  7                      │
  4227.        │                                                                     │
  4228.        │ Board # 0   IRQ: 5    Board Type:    1    DP Memory Seg : D800      │
  4229.        │        Channels: 4   I/O Address:  320h   First Channel :    4      │
  4230.        │                                                                     │
  4231.        │                                                                     │
  4232.        │   Bus type: AT Bus    Interrupt Levels: 15   HD uses DMA Ch3?: NO   │
  4233.        │   Interrupt Status :  15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0         │
  4234.        │                     Press Any Key to Continue                       │
  4235.        └─────────────────────────────────────────────────────────────────────┘
  4236.  
  4237.        Modem Doctor can test up to 4 Digiboards that contain up to 16 channels
  4238.        each. When in the setup mode,  you will get this screen instead of  the
  4239.        traditional PORT, IRQ, SPEED selections;
  4240.  
  4241.              ╔[  Digboard  ]╗ ╔[  Channel  ]╗   ╔[  Baud  ]══╗
  4242.              ║ Use Board 1  ║ ║ Use Ch 1    ║   ║   300 BPS  ║
  4243.              ╚══════════════╝ ║ Use Ch 2    ║   ║  1200 BPS  ║
  4244.                               ║ Use Ch 3    ║   ║  2400 BPS  ║ 
  4245.                               ║ Use Ch 4    ║   ╚════════════╝ Higher speeds
  4246.                               ╚═════════════╝                  with registered
  4247.                                                            version to 57.6kbps
  4248.  
  4249.  
  4250.  
  4251.  
  4252.  
  4253.  
  4254.                                        Page 71
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.                      Modem Doctor 6.0  Technical Reference Manual
  4268.  
  4269.  
  4270.  
  4271.        If more than 1 board is found, it will be displayed (max is 4). If more
  4272.        than 4 channels are found on the selected board, they will be displayed
  4273.        (max 16).
  4274.  
  4275.        As with  any fossil or comm driver, Modem Doctor may or may not be able
  4276.        to fully  test the hardware.  In these modes,  Modem Doctor  depends on
  4277.        your communication driver (a fossil, the digiboard driver or some INT14
  4278.        driver TSR) to correctly handle  comm ports. Only when Modem  Doctor is
  4279.        started without any  "switches" will it directly control  the hardware.
  4280.        This  is  indicated by  the  Int14  interface  indicator in  the  setup
  4281.        section;
  4282.  
  4283.        ╒[ Modem / Uart System Diagnostics ]══════════════════════════════════╕
  4284.        │ Comm port /IRQ in use [ ] Port = 5  Address = 320  IRQ = 5          │
  4285.        │ Int 14 interface      [ ] DigiFossil                                │
  4286.        │ Uart type             [ ] 16450/8250A detected                      │
  4287.        │ Baud rate selected    [ ] 2400                                      │
  4288.        │ Baud Rate reg test    [ ] Not supported with Fossil or INT14        │
  4289.        │ Modem Microprocessor  [ ]                                           │
  4290.        │ Modem ID Type         [ ]                                           │
  4291.        │ Modem Fax Ability     [ ]                                           │
  4292.        │ Modem Memory/Rom      [ ]                                           │
  4293.        └─────────────────────────────────────────────────────────────────────┘
  4294.  
  4295.        In  this case,  Modem Doctor  shows  it is  using  the DigiFossil.  For
  4296.        regular FOSSIL  routines,  the  words  FOSSIL or  EXTENDED  FOSSIL  are
  4297.        displayed.  During  direct   mode  testing,  the  words   INACTIVE  are
  4298.        displayed. Once you  are logged into using Digiboard  ports, you cannot
  4299.        access normal Dos ports without exiting the program and restarting. All
  4300.        tests described  in  earlier sections  above  work with  the  Digiboard
  4301.        without modification. 
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.                                        Page 72
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.                      Modem Doctor 6.0  Technical Reference Manual
  4328.  
  4329.  
  4330.  
  4331.        6.9 Running Modem Doctor under Windows 3.1
  4332.        ------------------------------------------
  4333.        Modem Doctor was designed to work directly with system hardware.
  4334.        Unfortunately, Windows seizes control of all hardware in order to allow
  4335.        for the virtualization of comm ports and interrupts. Nonetheless, Modem
  4336.        Doctor can run under Windows if you take the following precautions;
  4337.  
  4338.        1) Never run Modem Doctor without the /Q switch. Interrupt results
  4339.           under Windows are not predictable or accurate. Crashes to system
  4340.           operation may result.
  4341.  
  4342.        2) Make sure you have optimized your system.ini to allow a minimum
  4343.           ComxBoostTime of 6.
  4344.  
  4345.        3) Make sure all your comm ports are configured to NEVER WARN during
  4346.           a device contention. Modem Doctor will occasionally "fight" Windows
  4347.           for control of the comm ports. NEVER WARN can be selected from the
  4348.           control panel "ports" option.
  4349.  
  4350.        6.91 Running Modem Doctor on Networks
  4351.        ---------------------------------------
  4352.        Modem Doctor is not designed to run on a network. It can run on client
  4353.        machines that are  connected to a network.  For safety, use the  MDR /Q
  4354.        command. Some Network cards use IRQ's assigned to comm ports. IRQ tests
  4355.        in a network environment can cause serious problems to communications. 
  4356.        When running on a network, Modem Doctor can only test local comm ports.
  4357.        No TCP/IP or other protocol access is currently supported.
  4358.  
  4359.                 
  4360.        Section 7. Benefits of Registration     
  4361.        ------------------------------------      
  4362.        Thank you  for your registration.  The Current Registered Version  # of
  4363.        the Modem Doctor is 6.0R. All Registered Users are entitled to free
  4364.        Maintenance  updates and  these will  be  reflected by  changes in  the
  4365.        decimal  fraction number..ie  6.01, 6.02.  Minor upgrades are indicated
  4366.        by changes in the tenths digit..ie  6.10. Minor upgrades are not  free,
  4367.        but cost no more than major upgrades.
  4368.  
  4369.  
  4370.  
  4371.  
  4372.  
  4373.  
  4374.                                        Page 73
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.                      Modem Doctor 6.0  Technical Reference Manual
  4388.  
  4389.  
  4390.  
  4391.        If a new  super-duper version comes  out (7.X or  8.X), all  registered
  4392.        users  will be able to  update for only $7 (plus shipping,handling  and
  4393.        tax where applicable). Currently registered users of versions 2 through
  4394.        5  can  update    for  $5   (plus  shipping,  handling  and  tax  where
  4395.        applicable). If you have  trouble with  the Modem Doctor, or questions,
  4396.        feel free to call or write.   
  4397.  
  4398.        When doing either you will need to have the Version Number, your serial
  4399.        number,   and  in  some  cases the  Module  Identification Number.  The
  4400.        Version   number is displayed  when you  first start the  program along
  4401.        with  the serial   Number.  The  Module Identification  numbers can  be
  4402.        displayed  at any time   from the main menu after  you pass the initial
  4403.        setup mode. Simply type  a # sign, and all of the  modules that make up
  4404.        the Modem  Doctor will   display their  version numbers on  the screen.
  4405.        Right now, all Modules have   identical version numbers from program to
  4406.        program,  but  in  the future,    there  could  be  custom modules  for
  4407.        registered users, so in this case the Module ID could become important.
  4408.        You can reach us with your questions at 410-256-5767 or write to ;
  4409.  
  4410.                                        Hank Volpe
  4411.                                       PO Box 43214
  4412.                                     Baltimore MD 21236
  4413.                 
  4414.                       Thanks again for registering the Modem Doctor.
  4415.  
  4416.        You  can  always  download  the  latest  shareware  version  and  other
  4417.        communication  utilities  from  the Modem  Doctor  BBS  at 410-256-3631
  4418.        (300 -> 19.2kbps).  Also, if you write  your questions on the  BBS, you
  4419.        will get a faster response than if you had written via the mail. 
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.                                        Page 74
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443.  
  4444.  
  4445.  
  4446.  
  4447.                      Modem Doctor 6.0  Technical Reference Manual
  4448.  
  4449.  
  4450.  
  4451.        Notes -  [+] References to USR /Courier/Dual Standard/HST
  4452.                             Copyrighted by US Robotics     
  4453.                 
  4454.                 [++] References to AT Instruction Set ,Smartmodem,Hayes
  4455.                      Copyrighted by Hayes Inc.
  4456.                 
  4457.                 References to MNP refer to An error free protocol 
  4458.                 Copyrighted by Microcom Inc.     
  4459.  
  4460.                References to dos, microsoft, copyrighted by IBM or Microsoft
  4461.                References to 8250B or other uarts are copyrighted by a 
  4462.                variety of manufacturers including (but not limited to ) 
  4463.                    Intel, National Semiconductor.
  4464.          
  4465.           
  4466.        Disclaimer -  
  4467.        It is not the intent of the author to recommend any brand of modem over
  4468.        another nor to infringe on the copyrights of the manufacturers by
  4469.        mentioning their  products. A modem fits a need, and whatever one works
  4470.        for you is the  one you should have. As time goes  on, more modems will
  4471.        be added to the list of "special enhanced " tests. The modems mentioned
  4472.        are done so only because of the popularity they enjoy and for  no other
  4473.        reason.  All programming  of modems  for  testing is  done with  simple
  4474.        character strings, similar to any  type of data that  can be sent to  a
  4475.        modem or a serial port. Any modem, whether AT compatible or not, can be
  4476.        handled by  the  Modem  Doctor  with special  software  drivers.  These
  4477.        software  drivers will  be distributed  free  of charge  as needed  for
  4478.        general use.  Custom  drivers  created by  Hank  Volpe  for  particular
  4479.        clients however will require a fee for handling and programming time.
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.                                        Page 75
  4495.  
  4496.  
  4497.  
  4498.  
  4499.  
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505.  
  4506.  
  4507.                      Modem Doctor 6.0  Technical Reference Manual
  4508.  
  4509.  
  4510.  
  4511.        Modem Doctor History
  4512.                 Ver 6.0  - Improved PS/2 IRQ test support - PS/2's 
  4513.                            would halt or have their stack run-away during 
  4514.                            IRQ tests. The /Q switch from the command line
  4515.                            bypasses these tests. However, I've 
  4516.                            written some routines in assembler to create 
  4517.                            interrupt stacks that handle this 5.2 problem.
  4518.  
  4519.                          - Improved 16550AFN diagnostics - Modem Doctor 6
  4520.                            tests 16550AFN's, however after these tests, the 
  4521.                            buffers were shut down and not used (since no tests
  4522.                            existed that stressed their ability to perform).
  4523.                            These registers are now enabled to a trigger level
  4524.                            of 14 during all burst mode tests.
  4525.  
  4526.                          - Improved FOSSIL tests - FOSSIL routines have been 
  4527.                            streamlined to increase throughput during the burst
  4528.                            mode tests.
  4529.  
  4530.                          - Improved Modem Driver Detection - Modem Doctor now 
  4531.                            holds an exact-match table for supported modems. 
  4532.                            If no match is found, Modem Doctor "guesses" for
  4533.                            the best match. This will make it easier to support
  4534.                            future modems.
  4535.                          
  4536.                          - Adds IRQ support for IRQ's 7-15
  4537.                          - Improves 16550AFN tests.
  4538.                          - Tests for FAX modems, indicates Fax Group and
  4539.                            Class.
  4540.  
  4541.                          - Increase Baud Rate to 115200 in registered version.
  4542.                          - Diagnostic Toggle mode for DTR and RTS signals, 
  4543.                            helpful in finding bad cables or missing signals in
  4544.                            cables.
  4545.  
  4546.                          - Burst and Signature Rate Tests for Analog loop and
  4547.                            Carrier. 
  4548.                          - Support for DIGIBOARD Comm ports via the Digiboard
  4549.                            Driver.
  4550.                          - Improve FOSSIL throughput routines
  4551.                          - Detects AT, PS-2 and Dual Bus Computers, Supports 
  4552.                            Dual 8259 PIC chips.
  4553.  
  4554.                                        Page 76
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.                      Modem Doctor 6.0  Technical Reference Manual
  4568.  
  4569.  
  4570.  
  4571.              
  4572.                 Ver 5.2 -  The /Q switch was added to the command line
  4573.                            interface to allow for the user to bypass the IRQ
  4574.                            self-tests. Some computer environments may freeze
  4575.                            when self-tests of IRQ lines are performed. In this
  4576.                            case, running with the /Q switch will bypass these
  4577.                            tests. No other changes were made to the program.
  4578.                           
  4579.                 Ver 5.1 -  Program was recompiled to remove Borland C++
  4580.                            optimizations which were found to cause STACK 
  4581.                            problems running under Digital Research's DR/DOS
  4582.                            6.0. No other changes were made to the program.
  4583.  
  4584.                 Ver 5.0 -  New tests added to verify IRQ operation, verify
  4585.                            proper COMM port/IRQ selection, added NULL tests to
  4586.                            Interactive selection. Structure changed for
  4587.                            drivers to include handling all modem
  4588.                            identification codes. All window routines changed
  4589.                            to directly drive displays (vs working through
  4590.                            standard C library interfaces), S-register window 
  4591.                            display added to REGS menu, interfaces added to
  4592.                            handle generic INT14 and FOSSIL drivers, bypassing
  4593.                            all direct control of hardware while in that mode. 
  4594.  
  4595.                            Other updates include identification of mouse
  4596.                            drivers and re-activation upon exit, ability to
  4597.                            handle accurate timing loops on machines with a
  4598.                            system speed of 50mhz+, addition of interrupt
  4599.                            driven transmit routines. Addition of 5 new uart
  4600.                            internal tests.
  4601.              
  4602.                 Ver 4.0 -  New tests added for dynamic handshaking and static 
  4603.                            handshaking. New report generator features, new
  4604.                            exchange mode. Higher baud rates, cleaner windows
  4605.                            that grow to meet commands. Recognition of mouse
  4606.                            inputs via a compatible mouse driver. Expansion of
  4607.                            internal modem drivers and ability to read external
  4608.                            modem drivers. Improved brute-force reading for
  4609.                            faster digital loopback tests. Automatic aborting
  4610.                            of modem tests when IRQ failures are detected. New
  4611.                            advisories for fixed-link rate, IRQ failures, wrong
  4612.                            comm port assignments, swapped comm port
  4613.  
  4614.                                        Page 77
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.                      Modem Doctor 6.0  Technical Reference Manual
  4628.  
  4629.  
  4630.                            assignments. Addition of custom
  4631.                            color selections, pulldown windows that stay when
  4632.                            left-right arrow keys are moved. Updating of 16550
  4633.                            AN  support for resetting and clearing buffers.
  4634.                            Replacement of all internal comm drivers with new
  4635.                            dos independent routines. Correction of many (and
  4636.                            hopefully all) spelling errors.
  4637.  
  4638.                 Ver 3.0 - New tests added for 16450/16550/16550AN Uarts.
  4639.                           Improved Control-Abort handling, Regs command now 
  4640.                           performs a full diagnostic call when activated. 
  4641.                           Hot-Keys added (Force Micro, Baud Rate Select). 
  4642.                           Modem Driver software added to program, Status Bar 
  4643.                           added to program. Support for IRQ 3,4,5,7 added 
  4644.                           via COM1 through COM8 log-ins. Speed increased to 
  4645.                           38.4KB. /S Command line option added for setup of 
  4646.                           a modem including batch file errorlevel support. 
  4647.                           Escape key functionality added to Carrier Tests 
  4648.                           and the loopback tests.
  4649.  
  4650.                Ver 2.2 - Corrects a bug in Ver 2.1 Communication routines
  4651.                           that caused some modems to lock-out because they 
  4652.                           were waiting for two carriage returns to begin. 
  4653.                           Also it added 4 diagnostic Uart tests
  4654.                 
  4655.                 Ver 2.1 - This version was a Beta test. A Beta tester 
  4656.                           accidentally uploaded this to several boards. 
  4657.                           Please remove all Ver 2.1S software that you may 
  4658.                           find.
  4659.                 
  4660.                 Ver 2.0 - This version also was a Beta test with support
  4661.                           for COM1-2 and 2400 bps maximum
  4662.                 
  4663.                 Ver 1.0 - First test version
  4664.  
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674.                                        Page 78
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.  
  4681.